3 #![warn(clippy::manual_async_fn)]
6 use std::future::Future;
8 fn fut() -> impl Future<Output = i32> {
12 fn empty_fut() -> impl Future<Output = ()> {
16 fn core_fut() -> impl core::future::Future<Output = i32> {
21 fn has_other_stmts() -> impl core::future::Future<Output = i32> {
32 async fn already_async() -> impl Future<Output = i32> {
38 fn inh_fut() -> impl Future<Output = i32> {
42 fn meth_fut(&self) -> impl Future<Output = i32> {
46 fn empty_fut(&self) -> impl Future<Output = ()> {
51 fn not_fut(&self) -> i32 {
56 fn has_other_stmts() -> impl core::future::Future<Output = i32> {
62 async fn already_async(&self) -> impl Future<Output = i32> {