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