summaryrefslogtreecommitdiffstats
path: root/src/test/ui/empty/empty-struct-unit-pat.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
commit218caa410aa38c29984be31a5229b9fa717560ee (patch)
treec54bd55eeb6e4c508940a30e94c0032fbd45d677 /src/test/ui/empty/empty-struct-unit-pat.stderr
parentReleasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz
rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/empty/empty-struct-unit-pat.stderr')
-rw-r--r--src/test/ui/empty/empty-struct-unit-pat.stderr155
1 files changed, 0 insertions, 155 deletions
diff --git a/src/test/ui/empty/empty-struct-unit-pat.stderr b/src/test/ui/empty/empty-struct-unit-pat.stderr
deleted file mode 100644
index 5c0b4cffa..000000000
--- a/src/test/ui/empty/empty-struct-unit-pat.stderr
+++ /dev/null
@@ -1,155 +0,0 @@
-error[E0532]: expected tuple struct or tuple variant, found unit struct `Empty2`
- --> $DIR/empty-struct-unit-pat.rs:21:9
- |
-LL | struct Empty2;
- | -------------- `Empty2` defined here
-...
-LL | Empty2() => ()
- | ^^^^^^^^
- |
- ::: $DIR/auxiliary/empty-struct.rs:3:1
- |
-LL | pub struct XEmpty6();
- | ------------------ similarly named tuple struct `XEmpty6` defined here
- |
-help: use this syntax instead
- |
-LL | Empty2 => ()
- | ~~~~~~
-help: a tuple struct with a similar name exists
- |
-LL | XEmpty6() => ()
- | ~~~~~~~
-
-error[E0532]: expected tuple struct or tuple variant, found unit struct `XEmpty2`
- --> $DIR/empty-struct-unit-pat.rs:24:9
- |
-LL | XEmpty2() => ()
- | ^^^^^^^^^
- |
- ::: $DIR/auxiliary/empty-struct.rs:2:1
- |
-LL | pub struct XEmpty2;
- | ------------------ `XEmpty2` defined here
-LL | pub struct XEmpty6();
- | ------------------ similarly named tuple struct `XEmpty6` defined here
- |
-help: use this syntax instead
- |
-LL | XEmpty2 => ()
- | ~~~~~~~
-help: a tuple struct with a similar name exists
- |
-LL | XEmpty6() => ()
- | ~~~~~~~
-
-error[E0532]: expected tuple struct or tuple variant, found unit struct `Empty2`
- --> $DIR/empty-struct-unit-pat.rs:28:9
- |
-LL | struct Empty2;
- | -------------- `Empty2` defined here
-...
-LL | Empty2(..) => ()
- | ^^^^^^^^^^
- |
- ::: $DIR/auxiliary/empty-struct.rs:3:1
- |
-LL | pub struct XEmpty6();
- | ------------------ similarly named tuple struct `XEmpty6` defined here
- |
-help: use this syntax instead
- |
-LL | Empty2 => ()
- | ~~~~~~
-help: a tuple struct with a similar name exists
- |
-LL | XEmpty6(..) => ()
- | ~~~~~~~
-
-error[E0532]: expected tuple struct or tuple variant, found unit struct `XEmpty2`
- --> $DIR/empty-struct-unit-pat.rs:32:9
- |
-LL | XEmpty2(..) => ()
- | ^^^^^^^^^^^
- |
- ::: $DIR/auxiliary/empty-struct.rs:2:1
- |
-LL | pub struct XEmpty2;
- | ------------------ `XEmpty2` defined here
-LL | pub struct XEmpty6();
- | ------------------ similarly named tuple struct `XEmpty6` defined here
- |
-help: use this syntax instead
- |
-LL | XEmpty2 => ()
- | ~~~~~~~
-help: a tuple struct with a similar name exists
- |
-LL | XEmpty6(..) => ()
- | ~~~~~~~
-
-error[E0532]: expected tuple struct or tuple variant, found unit variant `E::Empty4`
- --> $DIR/empty-struct-unit-pat.rs:37:9
- |
-LL | Empty4
- | ------ `E::Empty4` defined here
-...
-LL | E::Empty4() => ()
- | ^^^^^^^^^^^ help: use this syntax instead: `E::Empty4`
-
-error[E0532]: expected tuple struct or tuple variant, found unit variant `XE::XEmpty4`
- --> $DIR/empty-struct-unit-pat.rs:41:9
- |
-LL | XE::XEmpty4() => (),
- | ^^^^^^^^^^^^^
- |
- ::: $DIR/auxiliary/empty-struct.rs:7:5
- |
-LL | XEmpty4,
- | ------- `XE::XEmpty4` defined here
-LL | XEmpty5(),
- | ------- similarly named tuple variant `XEmpty5` defined here
- |
-help: use this syntax instead
- |
-LL | XE::XEmpty4 => (),
- | ~~~~~~~~~~~
-help: a tuple variant with a similar name exists
- |
-LL | XE::XEmpty5() => (),
- | ~~~~~~~
-
-error[E0532]: expected tuple struct or tuple variant, found unit variant `E::Empty4`
- --> $DIR/empty-struct-unit-pat.rs:46:9
- |
-LL | Empty4
- | ------ `E::Empty4` defined here
-...
-LL | E::Empty4(..) => ()
- | ^^^^^^^^^^^^^ help: use this syntax instead: `E::Empty4`
-
-error[E0532]: expected tuple struct or tuple variant, found unit variant `XE::XEmpty4`
- --> $DIR/empty-struct-unit-pat.rs:50:9
- |
-LL | XE::XEmpty4(..) => (),
- | ^^^^^^^^^^^^^^^
- |
- ::: $DIR/auxiliary/empty-struct.rs:7:5
- |
-LL | XEmpty4,
- | ------- `XE::XEmpty4` defined here
-LL | XEmpty5(),
- | ------- similarly named tuple variant `XEmpty5` defined here
- |
-help: use this syntax instead
- |
-LL | XE::XEmpty4 => (),
- | ~~~~~~~~~~~
-help: a tuple variant with a similar name exists
- |
-LL | XE::XEmpty5(..) => (),
- | ~~~~~~~
-
-error: aborting due to 8 previous errors
-
-For more information about this error, try `rustc --explain E0532`.