|
1 | 1 | error[E0637]: `&` without an explicit lifetime name cannot be used here
|
2 |
| - --> $DIR/const-param-elided-lifetime.rs:4:19 |
| 2 | + --> $DIR/const-param-elided-lifetime.rs:9:19 |
3 | 3 | |
|
4 | 4 | LL | struct A<const N: &u8>;
|
5 | 5 | | ^ explicit lifetime name needed here
|
6 | 6 |
|
7 | 7 | error[E0637]: `&` without an explicit lifetime name cannot be used here
|
8 |
| - --> $DIR/const-param-elided-lifetime.rs:8:15 |
| 8 | + --> $DIR/const-param-elided-lifetime.rs:13:15 |
9 | 9 | |
|
10 | 10 | LL | impl<const N: &u8> A<N> {
|
11 | 11 | | ^ explicit lifetime name needed here
|
12 | 12 |
|
13 | 13 | error[E0637]: `&` without an explicit lifetime name cannot be used here
|
14 |
| - --> $DIR/const-param-elided-lifetime.rs:9:21 |
| 14 | + --> $DIR/const-param-elided-lifetime.rs:14:21 |
15 | 15 | |
|
16 | 16 | LL | fn foo<const M: &u8>(&self) {}
|
17 | 17 | | ^ explicit lifetime name needed here
|
18 | 18 |
|
19 | 19 | error[E0637]: `&` without an explicit lifetime name cannot be used here
|
20 |
| - --> $DIR/const-param-elided-lifetime.rs:13:15 |
| 20 | + --> $DIR/const-param-elided-lifetime.rs:18:15 |
21 | 21 | |
|
22 | 22 | LL | impl<const N: &u8> B for A<N> {}
|
23 | 23 | | ^ explicit lifetime name needed here
|
24 | 24 |
|
25 | 25 | error[E0637]: `&` without an explicit lifetime name cannot be used here
|
26 |
| - --> $DIR/const-param-elided-lifetime.rs:16:17 |
| 26 | + --> $DIR/const-param-elided-lifetime.rs:21:17 |
27 | 27 | |
|
28 | 28 | LL | fn bar<const N: &u8>() {}
|
29 | 29 | | ^ explicit lifetime name needed here
|
30 | 30 |
|
31 | 31 | warning: the feature `const_generics` is incomplete and may cause the compiler to crash
|
32 |
| - --> $DIR/const-param-elided-lifetime.rs:1:12 |
| 32 | + --> $DIR/const-param-elided-lifetime.rs:6:12 |
33 | 33 | |
|
34 | 34 | LL | #![feature(const_generics)]
|
35 | 35 | | ^^^^^^^^^^^^^^
|
|
0 commit comments