Closed
Description
The following breaks on nightly (see playground)
#![feature(async_await)]
struct Foo<'a>(&'a ());
impl Foo<'_> {
fn test() {
async fn test() {}
}
}
With:
error[E0261]: use of undeclared lifetime name `'_`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0261`.
error: Could not compile `playground`.
To learn more, run the command again with --verbose.