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