]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-await/async-fn-path-elision.stderr
Rollup merge of #94006 - pierwill:upvar-field, r=nikomatsakis
[rust.git] / src / test / ui / async-await / async-fn-path-elision.stderr
1 error[E0726]: implicit elided lifetime not allowed here
2   --> $DIR/async-fn-path-elision.rs:5:20
3    |
4 LL | async fn error(lt: HasLifetime) {
5    |                    ^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>`
6    |
7    = note: assuming a `'static` lifetime...
8
9 error: aborting due to previous error
10