mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
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:
parent
e0bd80f807
commit
efa12e6963
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue