mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-01 01:41:08 +00:00
11 lines
379 B
Plaintext
11 lines
379 B
Plaintext
error[E0277]: the trait bound `std::string::String: std::marker::Copy` is not satisfied
|
|
--> $DIR/pub-not-copy.rs:5:16
|
|
|
|
|
3 | #[wasm_bindgen]
|
|
| ---------------
|
|
| |
|
|
| 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`
|