1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-04-08 05:08:09 +00:00

11 lines
379 B
Plaintext
Raw Normal View History

error[E0277]: the trait bound `std::string::String: std::marker::Copy` is not satisfied
--> $DIR/pub-not-copy.rs:5:16
|
3 | #[wasm_bindgen]
2019-09-24 08:23:11 -07:00
| ---------------
| |
| required by this bound in `__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`