1
1
error[E0658]: unions with non-`Copy` fields other than `ManuallyDrop<T>`, references, and tuples of such types are unstable
2
- --> $DIR/feature-gate-untagged_unions.rs:25 :5
2
+ --> $DIR/feature-gate-untagged_unions.rs:29 :5
3
3
|
4
4
LL | a: std::cell::RefCell<i32>,
5
5
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -8,7 +8,7 @@ LL | a: std::cell::RefCell<i32>,
8
8
= help: add `#![feature(untagged_unions)]` to the crate attributes to enable
9
9
10
10
error[E0740]: unions cannot contain fields that may need dropping
11
- --> $DIR/feature-gate-untagged_unions.rs:21 :5
11
+ --> $DIR/feature-gate-untagged_unions.rs:25 :5
12
12
|
13
13
LL | a: String,
14
14
| ^^^^^^^^^
@@ -20,7 +20,7 @@ LL | a: std::mem::ManuallyDrop<String>,
20
20
| +++++++++++++++++++++++ +
21
21
22
22
error[E0740]: unions cannot contain fields that may need dropping
23
- --> $DIR/feature-gate-untagged_unions.rs:29 :5
23
+ --> $DIR/feature-gate-untagged_unions.rs:33 :5
24
24
|
25
25
LL | a: T,
26
26
| ^^^^
@@ -32,7 +32,7 @@ LL | a: std::mem::ManuallyDrop<T>,
32
32
| +++++++++++++++++++++++ +
33
33
34
34
error[E0740]: unions cannot contain fields that may need dropping
35
- --> $DIR/feature-gate-untagged_unions.rs:41 :5
35
+ --> $DIR/feature-gate-untagged_unions.rs:45 :5
36
36
|
37
37
LL | nest: U5,
38
38
| ^^^^^^^^
0 commit comments