From f5669ebb45353bfb828650472af783331b7b90fe Mon Sep 17 00:00:00 2001 From: Oliver Scherer Date: Fri, 20 Sep 2019 15:23:10 +0200 Subject: [PATCH] Update ui stderr --- src/test/ui/union/union-custom-drop.stderr | 17 ++--------------- 1 file 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 8e4e5dd40fd3f..ee2333f905fb4 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`.