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