Skip to content

Commit f5669eb

Browse files
committed
Update ui stderr
1 parent 7e1a65d commit f5669eb

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed
+2-15
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
error[E0601]: `main` function not found in crate `union_custom_drop`
2-
--> $DIR/union-custom-drop.rs:4:1
3-
|
4-
LL | / #![feature(untagged_unions)]
5-
LL | |
6-
LL | | union Foo {
7-
LL | | bar: Bar,
8-
... |
9-
LL | | }
10-
LL | | }
11-
| |_^ consider adding a `main` function to `$DIR/union-custom-drop.rs`
12-
131
error[E0740]: unions may not contain fields that need dropping
142
--> $DIR/union-custom-drop.rs:7:5
153
|
@@ -22,7 +10,6 @@ note: `std::mem::ManuallyDrop` can be used to wrap the type
2210
LL | bar: Bar,
2311
| ^^^^^^^^
2412

25-
error: aborting due to 2 previous errors
13+
error: aborting due to previous error
2614

27-
Some errors have detailed explanations: E0601, E0740.
28-
For more information about an error, try `rustc --explain E0601`.
15+
For more information about this error, try `rustc --explain E0740`.

0 commit comments

Comments
 (0)