async { 42 }
}
-struct S {}
+struct S;
impl S {
fn inh_fut() -> impl Future<Output = i32> {
async {
async { 42 }
}
-#[allow(clippy::needless_lifetimes)]
fn explicit<'a, 'b>(_: &'a i32, _: &'b i32) -> impl Future<Output = i32> + 'a + 'b {
async { 42 }
}