mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
15 lines
407 B
Plaintext
15 lines
407 B
Plaintext
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
|
|
|
|
For more information about this error, try `rustc --explain E0726`.
|