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