about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2019-09-20 15:23:10 +0200
committerOliver Scherer <github35764891676564198441@oli-obk.de>2019-10-11 10:43:55 +0200
commitf5669ebb45353bfb828650472af783331b7b90fe (patch)
treeae794367797b699a1a0e777aa2b007f7b9005948
parent7e1a65dce1d13d02de8e0ffafad15538556cb7b9 (diff)
downloadrust-f5669ebb45353bfb828650472af783331b7b90fe.tar.gz
rust-f5669ebb45353bfb828650472af783331b7b90fe.zip
Update ui stderr
-rw-r--r--src/test/ui/union/union-custom-drop.stderr17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/test/ui/union/union-custom-drop.stderr b/src/test/ui/union/union-custom-drop.stderr
index 8e4e5dd40fd..ee2333f905f 100644
--- a/src/test/ui/union/union-custom-drop.stderr
+++ b/src/test/ui/union/union-custom-drop.stderr
@@ -1,15 +1,3 @@
-error[E0601]: `main` function not found in crate `union_custom_drop`
-  --> $DIR/union-custom-drop.rs:4:1
-   |
-LL | / #![feature(untagged_unions)]
-LL | |
-LL | | union Foo {
-LL | |     bar: Bar,
-...  |
-LL | |     }
-LL | | }
-   | |_^ consider adding a `main` function to `$DIR/union-custom-drop.rs`
-
 error[E0740]: unions may not contain fields that need dropping
   --> $DIR/union-custom-drop.rs:7:5
    |
@@ -22,7 +10,6 @@ note: `std::mem::ManuallyDrop` can be used to wrap the type
 LL |     bar: Bar,
    |     ^^^^^^^^
 
-error: aborting due to 2 previous errors
+error: aborting due to previous error
 
-Some errors have detailed explanations: E0601, E0740.
-For more information about an error, try `rustc --explain E0601`.
+For more information about this error, try `rustc --explain E0740`.