1 error[E0277]: the trait bound `String: Copy` is not satisfied
2 --> $DIR/error-should-say-copy-not-pod.rs:6:17
4 LL | check_bound("nocopy".to_string());
5 | ----------- ^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `String`
7 | required by a bound introduced by this call
9 note: required by a bound in `check_bound`
10 --> $DIR/error-should-say-copy-not-pod.rs:3:18
12 LL | fn check_bound<T:Copy>(_: T) {}
13 | ^^^^ required by this bound in `check_bound`
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0277`.