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