rust/tests/ui/const-generics/late-bound-vars/late-bound-in-where-issue-83993.stderr
2023-09-05 20:20:55 +00:00

11 lines
265 B
Plaintext

error: cannot capture late-bound lifetime in constant
--> $DIR/late-bound-in-where-issue-83993.rs:10:17
|
LL | for<'b> [(); {
| -- lifetime defined here
LL | let x: &'b ();
| ^^
error: aborting due to previous error