|
1 |
| -error: any use of this value will cause an error |
| 1 | +error[E0080]: any use of this value will cause an error |
2 | 2 | --> $DIR/const_panic.rs:7:15
|
3 | 3 | |
|
4 | 4 | LL | const Z: () = std::panic!("cheese");
|
5 | 5 | | --------------^^^^^^^^^^^^^^^^^^^^^-
|
6 | 6 | | |
|
7 | 7 | | the evaluated program panicked at 'cheese', $DIR/const_panic.rs:7:15
|
8 | 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 | 9 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
13 | 10 |
|
14 |
| -error: any use of this value will cause an error |
15 |
| - --> $DIR/const_panic.rs:11:16 |
| 11 | +error[E0080]: any use of this value will cause an error |
| 12 | + --> $DIR/const_panic.rs:10:16 |
16 | 13 | |
|
17 | 14 | LL | const Z2: () = std::panic!();
|
18 | 15 | | ---------------^^^^^^^^^^^^^-
|
19 | 16 | | |
|
20 |
| - | the evaluated program panicked at 'explicit panic', $DIR/const_panic.rs:11:16 |
| 17 | + | the evaluated program panicked at 'explicit panic', $DIR/const_panic.rs:10:16 |
21 | 18 | |
|
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 | 19 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
25 | 20 |
|
26 |
| -error: any use of this value will cause an error |
27 |
| - --> $DIR/const_panic.rs:15:15 |
| 21 | +error[E0080]: any use of this value will cause an error |
| 22 | + --> $DIR/const_panic.rs:13:15 |
28 | 23 | |
|
29 | 24 | LL | const Y: () = std::unreachable!();
|
30 | 25 | | --------------^^^^^^^^^^^^^^^^^^^-
|
31 | 26 | | |
|
32 |
| - | the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic.rs:15:15 |
| 27 | + | the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic.rs:13:15 |
33 | 28 | |
|
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 | 29 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
37 | 30 |
|
38 |
| -error: any use of this value will cause an error |
39 |
| - --> $DIR/const_panic.rs:19:15 |
| 31 | +error[E0080]: any use of this value will cause an error |
| 32 | + --> $DIR/const_panic.rs:16:15 |
40 | 33 | |
|
41 | 34 | LL | const X: () = std::unimplemented!();
|
42 | 35 | | --------------^^^^^^^^^^^^^^^^^^^^^-
|
43 | 36 | | |
|
44 |
| - | the evaluated program panicked at 'not implemented', $DIR/const_panic.rs:19:15 |
| 37 | + | the evaluated program panicked at 'not implemented', $DIR/const_panic.rs:16:15 |
45 | 38 | |
|
46 |
| - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
47 |
| - = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800> |
48 | 39 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
49 | 40 |
|
50 |
| -error: any use of this value will cause an error |
51 |
| - --> $DIR/const_panic.rs:23:15 |
| 41 | +error[E0080]: any use of this value will cause an error |
| 42 | + --> $DIR/const_panic.rs:19:15 |
52 | 43 | |
|
53 | 44 | LL | const W: () = std::panic!(MSG);
|
54 | 45 | | --------------^^^^^^^^^^^^^^^^-
|
55 | 46 | | |
|
56 |
| - | the evaluated program panicked at 'hello', $DIR/const_panic.rs:23:15 |
| 47 | + | the evaluated program panicked at 'hello', $DIR/const_panic.rs:19:15 |
57 | 48 | |
|
58 |
| - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
59 |
| - = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800> |
60 | 49 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
61 | 50 |
|
62 |
| -error: any use of this value will cause an error |
63 |
| - --> $DIR/const_panic.rs:27:20 |
| 51 | +error[E0080]: any use of this value will cause an error |
| 52 | + --> $DIR/const_panic.rs:22:20 |
64 | 53 | |
|
65 | 54 | LL | const Z_CORE: () = core::panic!("cheese");
|
66 | 55 | | -------------------^^^^^^^^^^^^^^^^^^^^^^-
|
67 | 56 | | |
|
68 |
| - | the evaluated program panicked at 'cheese', $DIR/const_panic.rs:27:20 |
| 57 | + | the evaluated program panicked at 'cheese', $DIR/const_panic.rs:22:20 |
69 | 58 | |
|
70 |
| - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
71 |
| - = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800> |
72 | 59 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
73 | 60 |
|
74 |
| -error: any use of this value will cause an error |
75 |
| - --> $DIR/const_panic.rs:31:21 |
| 61 | +error[E0080]: any use of this value will cause an error |
| 62 | + --> $DIR/const_panic.rs:25:21 |
76 | 63 | |
|
77 | 64 | LL | const Z2_CORE: () = core::panic!();
|
78 | 65 | | --------------------^^^^^^^^^^^^^^-
|
79 | 66 | | |
|
80 |
| - | the evaluated program panicked at 'explicit panic', $DIR/const_panic.rs:31:21 |
| 67 | + | the evaluated program panicked at 'explicit panic', $DIR/const_panic.rs:25:21 |
81 | 68 | |
|
82 |
| - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
83 |
| - = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800> |
84 | 69 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
85 | 70 |
|
86 |
| -error: any use of this value will cause an error |
87 |
| - --> $DIR/const_panic.rs:35:20 |
| 71 | +error[E0080]: any use of this value will cause an error |
| 72 | + --> $DIR/const_panic.rs:28:20 |
88 | 73 | |
|
89 | 74 | LL | const Y_CORE: () = core::unreachable!();
|
90 | 75 | | -------------------^^^^^^^^^^^^^^^^^^^^-
|
91 | 76 | | |
|
92 |
| - | the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic.rs:35:20 |
| 77 | + | the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic.rs:28:20 |
93 | 78 | |
|
94 |
| - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
95 |
| - = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800> |
96 | 79 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
97 | 80 |
|
98 |
| -error: any use of this value will cause an error |
99 |
| - --> $DIR/const_panic.rs:39:20 |
| 81 | +error[E0080]: any use of this value will cause an error |
| 82 | + --> $DIR/const_panic.rs:31:20 |
100 | 83 | |
|
101 | 84 | LL | const X_CORE: () = core::unimplemented!();
|
102 | 85 | | -------------------^^^^^^^^^^^^^^^^^^^^^^-
|
103 | 86 | | |
|
104 |
| - | the evaluated program panicked at 'not implemented', $DIR/const_panic.rs:39:20 |
| 87 | + | the evaluated program panicked at 'not implemented', $DIR/const_panic.rs:31:20 |
105 | 88 | |
|
106 |
| - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
107 |
| - = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800> |
108 | 89 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
109 | 90 |
|
110 |
| -error: any use of this value will cause an error |
111 |
| - --> $DIR/const_panic.rs:43:20 |
| 91 | +error[E0080]: any use of this value will cause an error |
| 92 | + --> $DIR/const_panic.rs:34:20 |
112 | 93 | |
|
113 | 94 | LL | const W_CORE: () = core::panic!(MSG);
|
114 | 95 | | -------------------^^^^^^^^^^^^^^^^^-
|
115 | 96 | | |
|
116 |
| - | the evaluated program panicked at 'hello', $DIR/const_panic.rs:43:20 |
| 97 | + | the evaluated program panicked at 'hello', $DIR/const_panic.rs:34:20 |
117 | 98 | |
|
118 |
| - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
119 |
| - = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800> |
120 | 99 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
121 | 100 |
|
122 | 101 | error: aborting due to 10 previous errors
|
123 | 102 |
|
| 103 | +For more information about this error, try `rustc --explain E0080`. |
0 commit comments