1 error: any use of this value will cause an error
2 --> $DIR/const_panic_libcore_bin.rs:9:15
4 LL | const Z: () = panic!("cheese");
5 | --------------^^^^^^^^^^^^^^^^-
7 | the evaluated program panicked at 'cheese', $DIR/const_panic_libcore_bin.rs:9:15
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)
14 error: any use of this value will cause an error
15 --> $DIR/const_panic_libcore_bin.rs:13:15
17 LL | const Y: () = unreachable!();
18 | --------------^^^^^^^^^^^^^^-
20 | the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic_libcore_bin.rs:13:15
22 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
23 = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
24 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
26 error: any use of this value will cause an error
27 --> $DIR/const_panic_libcore_bin.rs:17:15
29 LL | const X: () = unimplemented!();
30 | --------------^^^^^^^^^^^^^^^^-
32 | the evaluated program panicked at 'not implemented', $DIR/const_panic_libcore_bin.rs:17:15
34 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
35 = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
36 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
38 error: aborting due to 3 previous errors