Files
rust/tests/ui/impl-trait/non-defining-uses/as-projection-term.next.stderr

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

13 lines
434 B
Plaintext
Raw Normal View History

2025-04-01 23:48:41 +02:00
error[E0792]: expected generic lifetime parameter, found `'_`
--> $DIR/as-projection-term.rs:14:19
|
LL | fn recur<'a>() -> impl Sized + 'a {
| -- this generic parameter must be used with a generic lifetime parameter
...
LL | prove_proj(|| recur());
| ^^^^^^^
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0792`.