diff options
Diffstat (limited to 'vendor/wasm-bindgen-macro/ui-tests/pub-not-copy.stderr')
-rw-r--r-- | vendor/wasm-bindgen-macro/ui-tests/pub-not-copy.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/wasm-bindgen-macro/ui-tests/pub-not-copy.stderr b/vendor/wasm-bindgen-macro/ui-tests/pub-not-copy.stderr new file mode 100644 index 000000000..0cb088cd1 --- /dev/null +++ b/vendor/wasm-bindgen-macro/ui-tests/pub-not-copy.stderr @@ -0,0 +1,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) |