rust/tests/ui/const-generics/generic_const_exprs/convert-refree-region-vid-ice-114464.stderr

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

12 lines
285 B
Plaintext
Raw Normal View History

2024-03-24 09:09:56 +00:00
error: cannot capture late-bound lifetime in constant
--> $DIR/convert-refree-region-vid-ice-114464.rs:11:17
|
LL | fn wow<'a>() {
| -- lifetime defined here
LL | test::<{
LL | let _: &'a ();
| ^^
error: aborting due to 1 previous error