fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the trait bound `T: TraitFoo` is not satisfied 2 --> $DIR/copy-impl-cannot-normalize.rs:22:18 3 | 4LL | impl<T> Copy for Foo<T> {} 5 | ^^^^^^ the trait `TraitFoo` is not implemented for `T` 6 | 7note: required for `Foo<T>` to implement `Clone` 8 --> $DIR/copy-impl-cannot-normalize.rs:12:9 9 | 10LL | impl<T> Clone for Foo<T> 11 | ^^^^^ ^^^^^^ 12LL | where 13LL | T: TraitFoo, 14 | -------- unsatisfied trait bound introduced here 15note: required by a bound in `Copy` 16 --> $SRC_DIR/core/src/marker.rs:LL:COL 17help: consider restricting type parameter `T` 18 | 19LL | impl<T: TraitFoo> Copy for Foo<T> {} 20 | ++++++++++ 21 22error: aborting due to previous error 23 24For more information about this error, try `rustc --explain E0277`.