Skip to content

Commit 7fd6702

Browse files
committed
Update assertion of stderr on nightly
rustc's error messages changed!
1 parent 84898c1 commit 7fd6702

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed
+3-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
error[E0277]: the trait bound `std::string::String: std::marker::Copy` is not satisfied
22
--> $DIR/pub-not-copy.rs:5:16
33
|
4+
3 | #[wasm_bindgen]
5+
| --------------- required by `__wbg_get_a_field::assert_copy`
6+
4 | pub struct A {
47
5 | pub field: String,
58
| ^^^^^^ the trait `std::marker::Copy` is not implemented for `std::string::String`
6-
|
7-
note: required by `__wbg_get_a_field::assert_copy`
8-
--> $DIR/pub-not-copy.rs:3:1
9-
|
10-
3 | #[wasm_bindgen]
11-
| ^^^^^^^^^^^^^^^
129

1310
For more information about this error, try `rustc --explain E0277`.

0 commit comments

Comments
 (0)