]> git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/const-eval/const_panic_libcore_bin.stderr
Merge branch 'debian/experimental2' into debian/sid
[rustc.git] / src / test / ui / consts / const-eval / const_panic_libcore_bin.stderr
1 error: 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: `#[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)
13
14 error: any use of this value will cause an error
15 --> $DIR/const_panic_libcore_bin.rs:13:15
16 |
17 LL | const Y: () = unreachable!();
18 | --------------^^^^^^^^^^^^^^-
19 | |
20 | the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic_libcore_bin.rs:13:15
21 |
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)
25
26 error: any use of this value will cause an error
27 --> $DIR/const_panic_libcore_bin.rs:17:15
28 |
29 LL | const X: () = unimplemented!();
30 | --------------^^^^^^^^^^^^^^^^-
31 | |
32 | the evaluated program panicked at 'not implemented', $DIR/const_panic_libcore_bin.rs:17:15
33 |
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)
37
38 error: aborting due to 3 previous errors
39