wasm-bindgen/crates/macro/ui-tests/pub-not-copy.stderr
Alex Crichton 7fd6702c6d Update assertion of stderr on nightly
rustc's error messages changed!
2019-09-05 09:52:14 -07:00

11 lines
424 B
Plaintext

error[E0277]: the trait bound `std::string::String: std::marker::Copy` is not satisfied
--> $DIR/pub-not-copy.rs:5:16
|
3 | #[wasm_bindgen]
| --------------- required by `__wbg_get_a_field::assert_copy`
4 | pub struct A {
5 | pub field: String,
| ^^^^^^ the trait `std::marker::Copy` is not implemented for `std::string::String`
For more information about this error, try `rustc --explain E0277`.