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