]> git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/control-flow/assert.const_panic.stderr
New upstream version 1.51.0+dfsg1
[rustc.git] / src / test / ui / consts / control-flow / assert.const_panic.stderr
1 error: any use of this value will cause an error
2 --> $DIR/assert.rs:10:15
3 |
4 LL | const _: () = assert!(false);
5 | --------------^^^^^^^^^^^^^^-
6 | |
7 | the evaluated program panicked at 'assertion failed: false', $DIR/assert.rs:10:15
8 |
9 = note: `#[deny(const_err)]` on by default
10 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
11 = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
12 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
13
14 error: aborting due to previous error
15