Skip to content

Commit 5ed1f17

Browse files
committed
Update rustc errors for new stable release
1 parent 520e2ad commit 5ed1f17

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
error[E0277]: the trait bound `std::result::Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>: wasm_bindgen::convert::traits::FromWasmAbi` is not satisfied
1+
error[E0277]: the trait bound `std::result::Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>: wasm_bindgen::convert::FromWasmAbi` is not satisfied
22
--> $DIR/missing-catch.rs:6:9
33
|
44
6 | pub fn foo() -> Result<JsValue, JsValue>;
5-
| ^^^ the trait `wasm_bindgen::convert::traits::FromWasmAbi` is not implemented for `std::result::Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>`
5+
| ^^^ the trait `wasm_bindgen::convert::FromWasmAbi` is not implemented for `std::result::Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>`
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
error[E0277]: the trait bound `A: wasm_bindgen::convert::traits::IntoWasmAbi` is not satisfied
1+
error[E0277]: the trait bound `A: wasm_bindgen::convert::IntoWasmAbi` is not satisfied
22
--> $DIR/traits-not-implemented.rs:8:12
33
|
44
8 | pub fn foo(a: A);
5-
| ^^^ the trait `wasm_bindgen::convert::traits::IntoWasmAbi` is not implemented for `A`
5+
| ^^^ the trait `wasm_bindgen::convert::IntoWasmAbi` is not implemented for `A`

crates/macro/ui-tests/unknown-type-in-import.stderr

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ error[E0412]: cannot find type `A` in this scope
22
--> $DIR/unknown-type-in-import.rs:6:19
33
|
44
6 | pub fn foo(a: A);
5-
| ^ not found in this scope
5+
| - ^ not found in this scope
6+
| |
7+
| help: you might be missing a type parameter: `<A>`

0 commit comments

Comments
 (0)