CustomFutureType
}
+async fn f() -> CustomFutureType {
+ // Don't warn for functions since you have to explicitly declare their
+ // return types.
+ CustomFutureType
+}
+
#[rustfmt::skip]
fn main() {
let _f = {
CustomFutureType
};
let _n = async || custom_future_type_ctor();
+ let _o = async || f();
}