File tree 5 files changed +5
-0
lines changed
src/test/ui/run-pass/union
5 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 9
9
// except according to those terms.
10
10
11
11
// run-pass
12
+ #![ allow( unions_with_drop_fields) ]
12
13
13
14
// Some traits can be derived for unions.
14
15
Original file line number Diff line number Diff line change 9
9
// except according to those terms.
10
10
11
11
// run-pass
12
+ #![ allow( unions_with_drop_fields) ]
12
13
13
14
// Drop works for union itself.
14
15
Original file line number Diff line number Diff line change 9
9
// except according to those terms.
10
10
11
11
// run-pass
12
+ #![ allow( unions_with_drop_fields) ]
12
13
13
14
// Drop works for union itself.
14
15
Original file line number Diff line number Diff line change 9
9
// except according to those terms.
10
10
11
11
// run-pass
12
+ #![ allow( unions_with_drop_fields) ]
12
13
13
14
#![ feature( untagged_unions) ]
14
15
Original file line number Diff line number Diff line change 9
9
// except according to those terms.
10
10
11
11
// run-pass
12
+ #![ allow( unions_with_drop_fields) ]
12
13
13
14
#![ feature( untagged_unions) ]
14
15
You can’t perform that action at this time.
0 commit comments