rust/tests/ui/lifetimes/issue-69314.stderr

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

15 lines
407 B
Plaintext
Raw Normal View History

2023-02-03 17:21:56 -06:00
error[E0726]: implicit elided lifetime not allowed here
--> $DIR/issue-69314.rs:18:20
|
LL | async fn f2(m: Msg) {}
| ^^^ expected lifetime parameter
|
help: indicate the anonymous lifetime
|
LL | async fn f2(m: Msg<'_>) {}
| ++++
error: aborting due to 1 previous error
2023-02-03 17:21:56 -06:00
For more information about this error, try `rustc --explain E0726`.