wasm-bindgen/crates/macro/ui-tests/pub-not-copy.stderr
Alex Crichton 4cc730fc41 Migrate to trybuild from compiletest
This migrates our UI tests to the recently published `trybuild` crate
which should hopefully be a bit more robust than `compiletest` over
time!
2019-05-15 14:47:22 -07:00

14 lines
449 B
Plaintext

error[E0277]: the trait bound `std::string::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 `std::string::String`
|
note: required by `__wbg_get_a_field::assert_copy`
--> $DIR/pub-not-copy.rs:3:1
|
3 | #[wasm_bindgen]
| ^^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0277`.