fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0658]: only lifetime parameters can be used in this context 2 --> $DIR/hrtb-wrong-kind.rs:1:18 3 | 4LL | fn a() where for<T> T: Copy {} 5 | ^ 6 | 7 = note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information 8 = help: add `#![feature(non_lifetime_binders)]` to the crate attributes to enable 9 10error[E0658]: only lifetime parameters can be used in this context 11 --> $DIR/hrtb-wrong-kind.rs:4:24 12 | 13LL | fn b() where for<const C: usize> [(); C]: Copy {} 14 | ^ 15 | 16 = note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information 17 = help: add `#![feature(non_lifetime_binders)]` to the crate attributes to enable 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0658`.