]>
Commit | Line | Data |
---|---|---|
48663c56 | 1 | error[E0726]: implicit elided lifetime not allowed here |
e1599b0c | 2 | --> $DIR/async-fn-path-elision.rs:5:20 |
48663c56 XL |
3 | | |
4 | LL | async fn error(lt: HasLifetime) { | |
04454e1e | 5 | | ^^^^^^^^^^^ expected lifetime parameter |
136023e0 XL |
6 | | |
7 | = note: assuming a `'static` lifetime... | |
04454e1e FG |
8 | help: indicate the anonymous lifetime |
9 | | | |
10 | LL | async fn error(lt: HasLifetime<'_>) { | |
11 | | ++++ | |
48663c56 XL |
12 | |
13 | error: aborting due to previous error | |
14 | ||
5e7ed085 | 15 | For more information about this error, try `rustc --explain E0726`. |