|
1 | 1 | error[E0080]: evaluation of constant value failed |
2 | | - --> $DIR/const-errs-dont-conflict-103369.rs:10:5 |
3 | | - | |
4 | | -LL | panic!("Some error occurred"); |
5 | | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Some error occurred |
6 | | - | |
7 | | -note: called from `<() as ConstGenericTrait<{my_fn(1)}>>::{constant#0}` |
8 | 2 | --> $DIR/const-errs-dont-conflict-103369.rs:5:25 |
9 | 3 | | |
10 | 4 | LL | impl ConstGenericTrait<{my_fn(1)}> for () {} |
11 | | - | ^^^^^^^^ |
12 | | - = note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) |
13 | | - |
14 | | -error[E0080]: evaluation of constant value failed |
| 5 | + | ^^^^^^^^ Some error occurred |
| 6 | + | |
| 7 | +note: called from `my_fn` |
15 | 8 | --> $DIR/const-errs-dont-conflict-103369.rs:10:5 |
16 | 9 | | |
17 | 10 | LL | panic!("Some error occurred"); |
18 | | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Some error occurred |
19 | | - | |
20 | | -note: called from `<() as ConstGenericTrait<{my_fn(2)}>>::{constant#0}` |
| 11 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 12 | + = note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 13 | + |
| 14 | +error[E0080]: evaluation of constant value failed |
21 | 15 | --> $DIR/const-errs-dont-conflict-103369.rs:7:25 |
22 | 16 | | |
23 | 17 | LL | impl ConstGenericTrait<{my_fn(2)}> for () {} |
24 | | - | ^^^^^^^^ |
| 18 | + | ^^^^^^^^ Some error occurred |
| 19 | + | |
| 20 | +note: called from `my_fn` |
| 21 | + --> $DIR/const-errs-dont-conflict-103369.rs:10:5 |
| 22 | + | |
| 23 | +LL | panic!("Some error occurred"); |
| 24 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
25 | 25 | = note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) |
26 | 26 |
|
27 | 27 | error: aborting due to 2 previous errors |
|
0 commit comments