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.
This commit is contained in:
Ms2ger 2015-07-28 16:22:36 +02:00
parent e0bd80f807
commit efa12e6963

View file

@ -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
}