mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #6809 - Ms2ger:unrooted_must_root, r=metajack
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. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6809) <!-- Reviewable:end -->
This commit is contained in:
commit
7adc336aaa
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