fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0277]: the trait bound `std::string::String: std::marker::Copy` is not satisfied 2 --> $DIR/error-should-say-copy-not-pod.rs:6:17 3 | 4LL | fn check_bound<T:Copy>(_: T) {} 5 | ---- required by this bound in `check_bound` 6... 7LL | check_bound("nocopy".to_string()); 8 | ^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `std::string::String` 9 10error: aborting due to previous error 11 12For more information about this error, try `rustc --explain E0277`.