summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/const-eval/const-eval-overflow2.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:58 +0000
commita4b7ed7a42c716ab9f05e351f003d589124fd55d (patch)
treeb620cd3f223850b28716e474e80c58059dca5dd4 /src/test/ui/consts/const-eval/const-eval-overflow2.stderr
parentAdding upstream version 1.67.1+dfsg1. (diff)
downloadrustc-a4b7ed7a42c716ab9f05e351f003d589124fd55d.tar.xz
rustc-a4b7ed7a42c716ab9f05e351f003d589124fd55d.zip
Adding upstream version 1.68.2+dfsg1.upstream/1.68.2+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/consts/const-eval/const-eval-overflow2.stderr')
-rw-r--r--src/test/ui/consts/const-eval/const-eval-overflow2.stderr51
1 files changed, 0 insertions, 51 deletions
diff --git a/src/test/ui/consts/const-eval/const-eval-overflow2.stderr b/src/test/ui/consts/const-eval/const-eval-overflow2.stderr
deleted file mode 100644
index 341c15daf..000000000
--- a/src/test/ui/consts/const-eval/const-eval-overflow2.stderr
+++ /dev/null
@@ -1,51 +0,0 @@
-error[E0080]: evaluation of constant value failed
- --> $DIR/const-eval-overflow2.rs:12:6
- |
-LL | i8::MIN - 1,
- | ^^^^^^^^^^^ attempt to compute `i8::MIN - 1_i8`, which would overflow
-
-error[E0080]: evaluation of constant value failed
- --> $DIR/const-eval-overflow2.rs:18:6
- |
-LL | i16::MIN - 1,
- | ^^^^^^^^^^^^ attempt to compute `i16::MIN - 1_i16`, which would overflow
-
-error[E0080]: evaluation of constant value failed
- --> $DIR/const-eval-overflow2.rs:24:6
- |
-LL | i32::MIN - 1,
- | ^^^^^^^^^^^^ attempt to compute `i32::MIN - 1_i32`, which would overflow
-
-error[E0080]: evaluation of constant value failed
- --> $DIR/const-eval-overflow2.rs:30:6
- |
-LL | i64::MIN - 1,
- | ^^^^^^^^^^^^ attempt to compute `i64::MIN - 1_i64`, which would overflow
-
-error[E0080]: evaluation of constant value failed
- --> $DIR/const-eval-overflow2.rs:36:6
- |
-LL | u8::MIN - 1,
- | ^^^^^^^^^^^ attempt to compute `0_u8 - 1_u8`, which would overflow
-
-error[E0080]: evaluation of constant value failed
- --> $DIR/const-eval-overflow2.rs:41:6
- |
-LL | u16::MIN - 1,
- | ^^^^^^^^^^^^ attempt to compute `0_u16 - 1_u16`, which would overflow
-
-error[E0080]: evaluation of constant value failed
- --> $DIR/const-eval-overflow2.rs:46:6
- |
-LL | u32::MIN - 1,
- | ^^^^^^^^^^^^ attempt to compute `0_u32 - 1_u32`, which would overflow
-
-error[E0080]: evaluation of constant value failed
- --> $DIR/const-eval-overflow2.rs:52:6
- |
-LL | u64::MIN - 1,
- | ^^^^^^^^^^^^ attempt to compute `0_u64 - 1_u64`, which would overflow
-
-error: aborting due to 8 previous errors
-
-For more information about this error, try `rustc --explain E0080`.