diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2019-11-12 22:16:08 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2019-11-15 17:24:42 +0100 |
commit | bea73951db5a758f78842a0056daccba9d89a9c0 (patch) | |
tree | 7072475f19a837d6395acfc23061029eeb7619d2 /components/script/document_loader.rs | |
parent | 091feba0ba817709927d1c407f4eb19dc84e57f3 (diff) | |
download | servo-bea73951db5a758f78842a0056daccba9d89a9c0.tar.gz servo-bea73951db5a758f78842a0056daccba9d89a9c0.zip |
Use `#![register_tool]` instead of `#![register_attr]`
CC https://github.com/rust-lang/rust/issues/66079
Diffstat (limited to 'components/script/document_loader.rs')
-rw-r--r-- | components/script/document_loader.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/document_loader.rs b/components/script/document_loader.rs index ef60cbc2a6c..9e103b91380 100644 --- a/components/script/document_loader.rs +++ b/components/script/document_loader.rs @@ -29,7 +29,7 @@ pub enum LoadType { /// created via DocumentLoader::fetch_async) are always removed by the time /// that the owner is destroyed. #[derive(JSTraceable, MallocSizeOf)] -#[must_root] +#[unrooted_must_root_lint::must_root] pub struct LoadBlocker { /// The document whose load event is blocked by this object existing. doc: Dom<Document>, |