| 1 |
error[E0277]: the trait bound `String: std::marker::Copy` is not satisfied |
| 2 |
--> $DIR/pub-not-copy.rs:5:16 |
| 3 |
| |
| 4 |
5 | pub field: String, |
| 5 |
| ^^^^^^ the trait `std::marker::Copy` is not implemented for `String` |
| 6 |
| |
| 7 |
note: required by a bound in `assert_copy` |
| 8 |
--> $DIR/pub-not-copy.rs:3:1 |
| 9 |
| |
| 10 |
3 | #[wasm_bindgen] |
| 11 |
| ^^^^^^^^^^^^^^^ required by this bound in `assert_copy` |
| 12 |
= note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) |