1 error: this constant cannot be used
2 --> $DIR/const_panic_libcore.rs:15:1
4 LL | const Z: () = panic!("cheese");
5 | ^^^^^^^^^^^^^^----------------^
7 | the evaluated program panicked at 'cheese', $DIR/const_panic_libcore.rs:15:15
9 = note: #[deny(const_err)] on by default
10 = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
12 error: this constant cannot be used
13 --> $DIR/const_panic_libcore.rs:18:1
15 LL | const Y: () = unreachable!();
16 | ^^^^^^^^^^^^^^--------------^
18 | the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic_libcore.rs:18:15
20 = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
22 error: this constant cannot be used
23 --> $DIR/const_panic_libcore.rs:21:1
25 LL | const X: () = unimplemented!();
26 | ^^^^^^^^^^^^^^----------------^
28 | the evaluated program panicked at 'not yet implemented', $DIR/const_panic_libcore.rs:21:15
30 = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
32 error: aborting due to 3 previous errors