From efa12e696371a7a15ba937d0fc256985de1bddaf Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Tue, 28 Jul 2015 16:22:36 +0200 Subject: Remove unrooted_must_root annotation from unions (fixes #2661). The unsafety was fixed as part of the SpiderMonkey upgrade; this removes the now unused annotation. --- components/script/dom/bindings/codegen/CodegenRust.py | 1 - 1 file changed, 1 deletion(-) (limited to 'components/script/dom/bindings/codegen') diff --git a/components/script/dom/bindings/codegen/CodegenRust.py b/components/script/dom/bindings/codegen/CodegenRust.py index fecc98e8a9a..5ea35a14541 100644 --- a/components/script/dom/bindings/codegen/CodegenRust.py +++ b/components/script/dom/bindings/codegen/CodegenRust.py @@ -3445,7 +3445,6 @@ class CGUnionStruct(CGThing): # XXXManishearth The following should be #[must_root], # however we currently allow it till #2661 is fixed return ("""\ -#[allow(unrooted_must_root)] pub enum %s { %s } -- cgit v1.2.3