1 warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/coroutine.rs:3:12
4 LL | #![feature(generic_const_exprs, coroutines, coroutine_trait, rustc_attrs)]
7 = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
8 = note: `#[warn(incomplete_features)]` on by default
10 error: item has unused generic parameters
11 --> $DIR/coroutine.rs:35:5
13 LL | pub fn unused_type<T>() -> impl Coroutine<(), Yield = u32, Return = u32> + Unpin {
14 | - generic parameter `T` is unused
18 error: item has unused generic parameters
19 --> $DIR/coroutine.rs:60:5
21 LL | pub fn unused_const<const T: u32>() -> impl Coroutine<(), Yield = u32, Return = u32> + Unpin {
22 | ------------ generic parameter `T` is unused
26 error: aborting due to 2 previous errors; 1 warning emitted