mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Use #![register_tool]
instead of #![register_attr]
CC https://github.com/rust-lang/rust/issues/66079
This commit is contained in:
parent
091feba0ba
commit
bea73951db
46 changed files with 129 additions and 105 deletions
|
@ -38,7 +38,7 @@ pub enum SettleType {
|
|||
Reject(Error),
|
||||
}
|
||||
|
||||
#[must_root]
|
||||
#[unrooted_must_root_lint::must_root]
|
||||
#[derive(JSTraceable)]
|
||||
pub struct Job {
|
||||
pub job_type: JobType,
|
||||
|
@ -97,7 +97,7 @@ impl PartialEq for Job {
|
|||
}
|
||||
}
|
||||
|
||||
#[must_root]
|
||||
#[unrooted_must_root_lint::must_root]
|
||||
#[derive(JSTraceable)]
|
||||
pub struct JobQueue(pub DomRefCell<HashMap<ServoUrl, Vec<Job>>>);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue