fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1warning: the feature `non_lifetime_binders` is incomplete and may not be safe to use and/or cause compiler crashes 2 --> $DIR/bad-copy-cond.rs:1:12 3 | 4LL | #![feature(non_lifetime_binders)] 5 | ^^^^^^^^^^^^^^^^^^^^ 6 | 7 = note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information 8 = note: `#[warn(incomplete_features)]` on by default 9 10error[E0277]: the trait bound `T: Copy` is not satisfied 11 --> $DIR/bad-copy-cond.rs:7:5 12 | 13LL | foo(); 14 | ^^^ the trait `Copy` is not implemented for `T` 15 | 16note: required by a bound in `foo` 17 --> $DIR/bad-copy-cond.rs:4:26 18 | 19LL | fn foo() where for<T> T: Copy {} 20 | ^^^^ required by this bound in `foo` 21 22error: aborting due to previous error; 1 warning emitted 23 24For more information about this error, try `rustc --explain E0277`.