]> git.lizzy.rs Git - rust.git/blob - src/test/ui/self/self_lifetime-async.nll.stderr
805d2433f87acccfa3a37f5ad007122bd5fff626
[rust.git] / src / test / ui / self / self_lifetime-async.nll.stderr
1 error[E0106]: missing lifetime specifier
2   --> $DIR/self_lifetime-async.rs:9:44
3    |
4 LL |     async fn foo<'b>(self: &'b Foo<'a>) -> &() { self.0 }
5    |                                            ^
6    |
7    = note: return-position elided lifetimes require exactly one input-position elided lifetime, found none.
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0106`.