]> git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/const-eval/const_panic_libcore_bin.stderr
New upstream version 1.59.0+dfsg1
[rustc.git] / src / test / ui / consts / const-eval / const_panic_libcore_bin.stderr
1 error[E0080]: evaluation of constant value failed
2 --> $DIR/const_panic_libcore_bin.rs:8:15
3 |
4 LL | const Z: () = panic!("cheese");
5 | ^^^^^^^^^^^^^^^^ the evaluated program panicked at 'cheese', $DIR/const_panic_libcore_bin.rs:8:15
6 |
7 = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
8
9 error[E0080]: evaluation of constant value failed
10 --> $DIR/const_panic_libcore_bin.rs:11:15
11 |
12 LL | const Y: () = unreachable!();
13 | ^^^^^^^^^^^^^^ the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic_libcore_bin.rs:11:15
14 |
15 = note: this error originates in the macro `$crate::panic::unreachable_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
16
17 error[E0080]: evaluation of constant value failed
18 --> $DIR/const_panic_libcore_bin.rs:14:15
19 |
20 LL | const X: () = unimplemented!();
21 | ^^^^^^^^^^^^^^^^ the evaluated program panicked at 'not implemented', $DIR/const_panic_libcore_bin.rs:14:15
22 |
23 = note: this error originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info)
24
25 error: aborting due to 3 previous errors
26
27 For more information about this error, try `rustc --explain E0080`.