mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44:28 +00:00
847311e36f
Fixes #109178
22 lines
911 B
Plaintext
22 lines
911 B
Plaintext
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`.
|