mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +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
|
@ -4749,7 +4749,7 @@ impl AnimationFrameCallback {
|
|||
}
|
||||
|
||||
#[derive(Default, JSTraceable, MallocSizeOf)]
|
||||
#[must_root]
|
||||
#[unrooted_must_root_lint::must_root]
|
||||
struct PendingInOrderScriptVec {
|
||||
scripts: DomRefCell<VecDeque<PendingScript>>,
|
||||
}
|
||||
|
@ -4787,7 +4787,7 @@ impl PendingInOrderScriptVec {
|
|||
}
|
||||
|
||||
#[derive(JSTraceable, MallocSizeOf)]
|
||||
#[must_root]
|
||||
#[unrooted_must_root_lint::must_root]
|
||||
struct PendingScript {
|
||||
element: Dom<HTMLScriptElement>,
|
||||
load: Option<ScriptResult>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue