about summary refs log tree commit diff
path: root/tests/ui/inference/ice-cannot-relate-region-109178.stderr
blob: 0ac924452c072d1ce84d6bdbb74e715e8d76b44e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0637]: `&` without an explicit lifetime name cannot be used here
  --> $DIR/ice-cannot-relate-region-109178.rs:7:31
   |
LL | struct Changes<const CHANGES: &[&'static str]>
   |                               ^ explicit lifetime name needed here

error[E0637]: `&` without an explicit lifetime name cannot be used here
  --> $DIR/ice-cannot-relate-region-109178.rs:12:21
   |
LL | impl<const CHANGES: &[&str]> Changes<CHANGES> where [(); CHANGES.len()]: {}
   |                     ^ explicit lifetime name needed here

error[E0637]: `&` without an explicit lifetime name cannot be used here
  --> $DIR/ice-cannot-relate-region-109178.rs:12:23
   |
LL | impl<const CHANGES: &[&str]> Changes<CHANGES> where [(); CHANGES.len()]: {}
   |                       ^ explicit lifetime name needed here

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0637`.