summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0081.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/error-codes/E0081.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/error-codes/E0081.stderr')
-rw-r--r--src/test/ui/error-codes/E0081.stderr78
1 files changed, 0 insertions, 78 deletions
diff --git a/src/test/ui/error-codes/E0081.stderr b/src/test/ui/error-codes/E0081.stderr
deleted file mode 100644
index d4b21f689..000000000
--- a/src/test/ui/error-codes/E0081.stderr
+++ /dev/null
@@ -1,78 +0,0 @@
-error[E0081]: discriminant value `3` assigned more than once
- --> $DIR/E0081.rs:1:1
- |
-LL | enum Enum {
- | ^^^^^^^^^
-LL |
-LL | P = 3,
- | - `3` assigned here
-LL |
-LL | X = 3,
- | - `3` assigned here
-
-error[E0081]: discriminant value `1` assigned more than once
- --> $DIR/E0081.rs:11:1
- |
-LL | enum EnumOverflowRepr {
- | ^^^^^^^^^^^^^^^^^^^^^
-LL |
-LL | P = 257,
- | --- `1` (overflowed from `257`) assigned here
-LL |
-LL | X = 513,
- | --- `1` (overflowed from `513`) assigned here
-
-error[E0081]: discriminant value `-1` assigned more than once
- --> $DIR/E0081.rs:20:1
- |
-LL | enum NegDisEnum {
- | ^^^^^^^^^^^^^^^
-LL |
-LL | First = -1,
- | -- `-1` assigned here
-LL |
-LL | Second = -2,
- | ------ discriminant for `Last` incremented from this startpoint (`Second` + 1 variant later => `Last` = -1)
-LL |
-LL | Last,
- | ---- `-1` assigned here
-
-error[E0081]: discriminant value `0` assigned more than once
- --> $DIR/E0081.rs:30:1
- |
-LL | enum MultipleDuplicates {
- | ^^^^^^^^^^^^^^^^^^^^^^^
-...
-LL | V0,
- | -- `0` assigned here
-LL |
-LL | V1 = 0,
- | - `0` assigned here
-...
-LL | V4 = 0,
- | - `0` assigned here
-LL |
-LL | V5 = -2,
- | -- discriminant for `V7` incremented from this startpoint (`V5` + 2 variants later => `V7` = 0)
-...
-LL | V7,
- | -- `0` assigned here
-
-error[E0081]: discriminant value `-2` assigned more than once
- --> $DIR/E0081.rs:30:1
- |
-LL | enum MultipleDuplicates {
- | ^^^^^^^^^^^^^^^^^^^^^^^
-...
-LL | V5 = -2,
- | -- `-2` assigned here
-...
-LL | V8 = -3,
- | -- discriminant for `V9` incremented from this startpoint (`V8` + 1 variant later => `V9` = -2)
-LL |
-LL | V9,
- | -- `-2` assigned here
-
-error: aborting due to 5 previous errors
-
-For more information about this error, try `rustc --explain E0081`.