From bded5c370344c5ed77b706c36e0caf911fbe4e3d Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Tue, 16 Sep 2014 22:35:41 +0530 Subject: Add unrooted_must_root lint for usages of JS in let/for bindings --- components/script/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'components/script/lib.rs') diff --git a/components/script/lib.rs b/components/script/lib.rs index 275051435bd..939238df1a4 100644 --- a/components/script/lib.rs +++ b/components/script/lib.rs @@ -58,6 +58,7 @@ pub mod dom { /// Generated JS-Rust bindings. pub mod codegen { + #[allow(unrooted_must_root)] pub mod Bindings; pub mod InterfaceTypes; pub mod InheritTypes; -- cgit v1.2.3