Skip to content

Commit afa886e

Browse files
committed
bless a miri test
1 parent 9d388dc commit afa886e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/miri/tests/fail/erroneous_const2.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ error: any use of this value will cause an error
44
LL | const FOO: u32 = [X - Y, Y - X][(X < Y) as usize];
55
| -------------- ^^^^^ attempt to compute `5_u32 - 6_u32`, which would overflow
66
|
7-
= note: `#[deny(const_err)]` on by default
87
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
98
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
9+
= note: `#[deny(const_err)]` on by default
1010

1111
error[E0080]: evaluation of constant value failed
1212
--> $DIR/erroneous_const2.rs:LL:CC

0 commit comments

Comments
 (0)