aboutsummaryrefslogtreecommitdiffstats
path: root/components/dom_struct
diff options
context:
space:
mode:
Diffstat (limited to 'components/dom_struct')
-rw-r--r--components/dom_struct/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dom_struct/lib.rs b/components/dom_struct/lib.rs
index e7b2b290ce5..ff95e7d838a 100644
--- a/components/dom_struct/lib.rs
+++ b/components/dom_struct/lib.rs
@@ -17,7 +17,7 @@ pub fn dom_struct(args: TokenStream, input: TokenStream) -> TokenStream {
}
let attributes = quote! {
#[derive(DenyPublicFields, DomObject, JSTraceable, MallocSizeOf)]
- #[must_root]
+ #[unrooted_must_root_lint::must_root]
#[repr(C)]
};