rust/tests/ui/const-generics/late-bound-vars/late-bound-in-where-issue-83993.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
267 B
Plaintext
Raw Normal View History

2023-09-02 17:53:59 -05:00
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 1 previous error
2023-09-02 17:53:59 -05:00