Skip to content

Commit 0e69e0e

Browse files
authored
fix ui-tests for rust 1.54 (#2638)
1 parent 3b3d95a commit 0e69e0e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

crates/macro/ui-tests/async-errors.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ error[E0277]: the trait bound `Result<(), ()>: IntoJsResult` is not satisfied
88
<Result<(), E> as IntoJsResult>
99
<Result<T, E> as IntoJsResult>
1010
= note: required by `into_js_result`
11-
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
11+
= note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
1212

1313
error[E0277]: the trait bound `Result<(), BadType>: IntoJsResult` is not satisfied
1414
--> $DIR/async-errors.rs:32:1
@@ -20,7 +20,7 @@ error[E0277]: the trait bound `Result<(), BadType>: IntoJsResult` is not satisfi
2020
<Result<(), E> as IntoJsResult>
2121
<Result<T, E> as IntoJsResult>
2222
= note: required by `into_js_result`
23-
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
23+
= note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
2424

2525
error[E0277]: the trait bound `wasm_bindgen::JsValue: From<BadType>` is not satisfied
2626
--> $DIR/async-errors.rs:34:1
@@ -37,7 +37,7 @@ error[E0277]: the trait bound `wasm_bindgen::JsValue: From<BadType>` is not sati
3737
= note: required because of the requirements on the impl of `Into<wasm_bindgen::JsValue>` for `BadType`
3838
= note: required because of the requirements on the impl of `IntoJsResult` for `BadType`
3939
= note: required by `into_js_result`
40-
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
40+
= note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
4141

4242
error[E0277]: the trait bound `Result<BadType, wasm_bindgen::JsValue>: IntoJsResult` is not satisfied
4343
--> $DIR/async-errors.rs:36:1
@@ -49,4 +49,4 @@ error[E0277]: the trait bound `Result<BadType, wasm_bindgen::JsValue>: IntoJsRes
4949
<Result<(), E> as IntoJsResult>
5050
<Result<T, E> as IntoJsResult>
5151
= note: required by `into_js_result`
52-
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
52+
= note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)

crates/macro/ui-tests/start-function.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ error[E0277]: the trait bound `Result<wasm_bindgen::JsValue, ()>: wasm_bindgen::
1919
= help: the following implementations were found:
2020
<Result<(), E> as wasm_bindgen::__rt::Start>
2121
= note: required by `start`
22-
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
22+
= note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
2323

2424
error[E0277]: the trait bound `Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>: wasm_bindgen::__rt::Start` is not satisfied
2525
--> $DIR/start-function.rs:18:1
@@ -30,7 +30,7 @@ error[E0277]: the trait bound `Result<wasm_bindgen::JsValue, wasm_bindgen::JsVal
3030
= help: the following implementations were found:
3131
<Result<(), E> as wasm_bindgen::__rt::Start>
3232
= note: required by `start`
33-
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
33+
= note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
3434

3535
error[E0277]: the trait bound `Result<wasm_bindgen::JsValue, ()>: wasm_bindgen::__rt::Start` is not satisfied
3636
--> $DIR/start-function.rs:27:1
@@ -41,7 +41,7 @@ error[E0277]: the trait bound `Result<wasm_bindgen::JsValue, ()>: wasm_bindgen::
4141
= help: the following implementations were found:
4242
<Result<(), E> as wasm_bindgen::__rt::Start>
4343
= note: required by `start`
44-
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
44+
= note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
4545

4646
error[E0277]: the trait bound `Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>: wasm_bindgen::__rt::Start` is not satisfied
4747
--> $DIR/start-function.rs:30:1
@@ -52,4 +52,4 @@ error[E0277]: the trait bound `Result<wasm_bindgen::JsValue, wasm_bindgen::JsVal
5252
= help: the following implementations were found:
5353
<Result<(), E> as wasm_bindgen::__rt::Start>
5454
= note: required by `start`
55-
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
55+
= note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)

0 commit comments

Comments
 (0)