We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84898c1 commit 7fd6702Copy full SHA for 7fd6702
crates/macro/ui-tests/pub-not-copy.stderr
@@ -1,13 +1,10 @@
1
error[E0277]: the trait bound `std::string::String: std::marker::Copy` is not satisfied
2
--> $DIR/pub-not-copy.rs:5:16
3
|
4
+3 | #[wasm_bindgen]
5
+ | --------------- required by `__wbg_get_a_field::assert_copy`
6
+4 | pub struct A {
7
5 | pub field: String,
8
| ^^^^^^ 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
9
10
-3 | #[wasm_bindgen]
11
- | ^^^^^^^^^^^^^^^
12
13
For more information about this error, try `rustc --explain E0277`.
0 commit comments