diff options
Diffstat (limited to 'components/script_plugins/lib.rs')
-rw-r--r-- | components/script_plugins/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script_plugins/lib.rs b/components/script_plugins/lib.rs index 7fdfb10fcce..36c81ce6239 100644 --- a/components/script_plugins/lib.rs +++ b/components/script_plugins/lib.rs @@ -41,5 +41,6 @@ pub fn plugin_registrar(reg: &mut Registry) { reg.register_late_lint_pass(Box::new(unrooted_must_root::UnrootedPass::new())); reg.register_attribute("allow_unrooted_interior".to_string(), Whitelisted); + reg.register_attribute("allow_unrooted_in_rc".to_string(), Whitelisted); reg.register_attribute("must_root".to_string(), Whitelisted); } |