mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +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],
|
# XXXManishearth The following should be #[must_root],
|
||||||
# however we currently allow it till #2661 is fixed
|
# however we currently allow it till #2661 is fixed
|
||||||
return ("""\
|
return ("""\
|
||||||
#[allow(unrooted_must_root)]
|
|
||||||
pub enum %s {
|
pub enum %s {
|
||||||
%s
|
%s
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue