|
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 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
11 | 11 |
|
12 | 12 | error: any use of this value will cause an error
|
13 |
| - --> $DIR/const_panic.rs:9:16 |
| 13 | + --> $DIR/const_panic.rs:10:16 |
14 | 14 | |
|
15 | 15 | LL | const Z2: () = std::panic!();
|
16 | 16 | | ---------------^^^^^^^^^^^^^-
|
17 | 17 | | |
|
18 |
| - | the evaluated program panicked at 'explicit panic', $DIR/const_panic.rs:9:16 |
| 18 | + | the evaluated program panicked at 'explicit panic', $DIR/const_panic.rs:10:16 |
19 | 19 | |
|
20 | 20 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
21 | 21 |
|
22 | 22 | error: any use of this value will cause an error
|
23 |
| - --> $DIR/const_panic.rs:12:15 |
| 23 | + --> $DIR/const_panic.rs:13:15 |
24 | 24 | |
|
25 | 25 | LL | const Y: () = std::unreachable!();
|
26 | 26 | | --------------^^^^^^^^^^^^^^^^^^^-
|
27 | 27 | | |
|
28 |
| - | the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic.rs:12:15 |
| 28 | + | the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic.rs:13:15 |
29 | 29 | |
|
30 | 30 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
31 | 31 |
|
32 | 32 | error: any use of this value will cause an error
|
33 |
| - --> $DIR/const_panic.rs:15:15 |
| 33 | + --> $DIR/const_panic.rs:16:15 |
34 | 34 | |
|
35 | 35 | LL | const X: () = std::unimplemented!();
|
36 | 36 | | --------------^^^^^^^^^^^^^^^^^^^^^-
|
37 | 37 | | |
|
38 |
| - | the evaluated program panicked at 'not implemented', $DIR/const_panic.rs:15:15 |
| 38 | + | the evaluated program panicked at 'not implemented', $DIR/const_panic.rs:16:15 |
39 | 39 | |
|
40 | 40 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
41 | 41 |
|
42 | 42 | error: any use of this value will cause an error
|
43 |
| - --> $DIR/const_panic.rs:18:15 |
| 43 | + --> $DIR/const_panic.rs:19:15 |
44 | 44 | |
|
45 | 45 | LL | const W: () = std::panic!(MSG);
|
46 | 46 | | --------------^^^^^^^^^^^^^^^^-
|
47 | 47 | | |
|
48 |
| - | the evaluated program panicked at 'hello', $DIR/const_panic.rs:18:15 |
| 48 | + | the evaluated program panicked at 'hello', $DIR/const_panic.rs:19:15 |
49 | 49 | |
|
50 | 50 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
51 | 51 |
|
52 | 52 | error: any use of this value will cause an error
|
53 |
| - --> $DIR/const_panic.rs:21:20 |
| 53 | + --> $DIR/const_panic.rs:22:20 |
54 | 54 | |
|
55 | 55 | LL | const Z_CORE: () = core::panic!("cheese");
|
56 | 56 | | -------------------^^^^^^^^^^^^^^^^^^^^^^-
|
57 | 57 | | |
|
58 |
| - | the evaluated program panicked at 'cheese', $DIR/const_panic.rs:21:20 |
| 58 | + | the evaluated program panicked at 'cheese', $DIR/const_panic.rs:22:20 |
59 | 59 | |
|
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:24:21 |
| 63 | + --> $DIR/const_panic.rs:25:21 |
64 | 64 | |
|
65 | 65 | LL | const Z2_CORE: () = core::panic!();
|
66 | 66 | | --------------------^^^^^^^^^^^^^^-
|
67 | 67 | | |
|
68 |
| - | the evaluated program panicked at 'explicit panic', $DIR/const_panic.rs:24:21 |
| 68 | + | the evaluated program panicked at 'explicit panic', $DIR/const_panic.rs:25:21 |
69 | 69 | |
|
70 | 70 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
71 | 71 |
|
72 | 72 | error: any use of this value will cause an error
|
73 |
| - --> $DIR/const_panic.rs:27:20 |
| 73 | + --> $DIR/const_panic.rs:28:20 |
74 | 74 | |
|
75 | 75 | LL | const Y_CORE: () = core::unreachable!();
|
76 | 76 | | -------------------^^^^^^^^^^^^^^^^^^^^-
|
77 | 77 | | |
|
78 |
| - | the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic.rs:27:20 |
| 78 | + | the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic.rs:28:20 |
79 | 79 | |
|
80 | 80 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
81 | 81 |
|
82 | 82 | error: any use of this value will cause an error
|
83 |
| - --> $DIR/const_panic.rs:30:20 |
| 83 | + --> $DIR/const_panic.rs:31:20 |
84 | 84 | |
|
85 | 85 | LL | const X_CORE: () = core::unimplemented!();
|
86 | 86 | | -------------------^^^^^^^^^^^^^^^^^^^^^^-
|
87 | 87 | | |
|
88 |
| - | the evaluated program panicked at 'not implemented', $DIR/const_panic.rs:30:20 |
| 88 | + | the evaluated program panicked at 'not implemented', $DIR/const_panic.rs:31:20 |
89 | 89 | |
|
90 | 90 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
91 | 91 |
|
92 | 92 | error: any use of this value will cause an error
|
93 |
| - --> $DIR/const_panic.rs:33:20 |
| 93 | + --> $DIR/const_panic.rs:34:20 |
94 | 94 | |
|
95 | 95 | LL | const W_CORE: () = core::panic!(MSG);
|
96 | 96 | | -------------------^^^^^^^^^^^^^^^^^-
|
97 | 97 | | |
|
98 |
| - | the evaluated program panicked at 'hello', $DIR/const_panic.rs:33:20 |
| 98 | + | the evaluated program panicked at 'hello', $DIR/const_panic.rs:34:20 |
99 | 99 | |
|
100 | 100 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
101 | 101 |
|
|
0 commit comments