warning: the feature `return_type_notation` is incomplete and may not be safe to use and/or cause compiler crashes --> $DIR/ty-or-ct-params.rs:3:12 | LL | #![feature(return_type_notation)] | ^^^^^^^^^^^^^^^^^^^^ | = note: see issue #109417 for more information = note: `#[warn(incomplete_features)]` on by default error: return type notation is not allowed for functions that have type parameters --> $DIR/ty-or-ct-params.rs:14:12 | LL | async fn bar() {} | - type parameter declared here ... LL | T: Foo, | ^^^^^^^^^^^ error: return type notation is not allowed for functions that have const parameters --> $DIR/ty-or-ct-params.rs:14:25 | LL | async fn baz() {} | -------------- const parameter declared here ... LL | T: Foo, | ^^^^^^^^^^^ error: aborting due to 2 previous errors; 1 warning emitted