From bea73951db5a758f78842a0056daccba9d89a9c0 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Tue, 12 Nov 2019 22:16:08 +0100 Subject: Use `#![register_tool]` instead of `#![register_attr]` CC https://github.com/rust-lang/rust/issues/66079 --- components/script/script_thread.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/script/script_thread.rs') diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index 20ac88b7bc1..43741209fa1 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -434,7 +434,7 @@ impl OpaqueSender for Sender { /// The set of all documents managed by this script thread. #[derive(JSTraceable)] -#[must_root] +#[unrooted_must_root_lint::must_root] pub struct Documents { map: HashMap>, } -- cgit v1.2.3