From 64d98f8ee037282c35007b64c2649055c56af1db Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:03 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- src/test/ui/enum/nested-enum.stderr | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 src/test/ui/enum/nested-enum.stderr (limited to 'src/test/ui/enum/nested-enum.stderr') diff --git a/src/test/ui/enum/nested-enum.stderr b/src/test/ui/enum/nested-enum.stderr deleted file mode 100644 index 7d6f57e88..000000000 --- a/src/test/ui/enum/nested-enum.stderr +++ /dev/null @@ -1,26 +0,0 @@ -error: `enum` definition cannot be nested inside `enum` - --> $DIR/nested-enum.rs:2:5 - | -LL | enum Bar { Baz }, - | ^^^^------------ - | | - | help: consider creating a new `enum` definition instead of nesting - -error: `struct` definition cannot be nested inside `enum` - --> $DIR/nested-enum.rs:3:5 - | -LL | struct Quux { field: u8 }, - | ^^^^^^------------------- - | | - | help: consider creating a new `struct` definition instead of nesting - -error: `union` definition cannot be nested inside `enum` - --> $DIR/nested-enum.rs:4:5 - | -LL | union Wibble { field: u8 }, - | ^^^^^--------------------- - | | - | help: consider creating a new `union` definition instead of nesting - -error: aborting due to 3 previous errors - -- cgit v1.2.3