Skip to content

Commit 69aef24

Browse files
committed
Fix CI builds for now
1 parent 541e8f5 commit 69aef24

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

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

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

1213
error[E0277]: the trait bound `std::result::Result<(), BadType>: wasm_bindgen::__rt::IntoJsResult` is not satisfied
1314
--> $DIR/async-errors.rs:32:1
@@ -19,6 +20,7 @@ error[E0277]: the trait bound `std::result::Result<(), BadType>: wasm_bindgen::_
1920
<std::result::Result<(), E> as wasm_bindgen::__rt::IntoJsResult>
2021
<std::result::Result<T, E> as wasm_bindgen::__rt::IntoJsResult>
2122
= note: required by `wasm_bindgen::__rt::IntoJsResult::into_js_result`
23+
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
2224

2325
error[E0277]: the trait bound `wasm_bindgen::JsValue: std::convert::From<BadType>` is not satisfied
2426
--> $DIR/async-errors.rs:34:1
@@ -35,6 +37,7 @@ error[E0277]: the trait bound `wasm_bindgen::JsValue: std::convert::From<BadType
3537
= note: required because of the requirements on the impl of `std::convert::Into<wasm_bindgen::JsValue>` for `BadType`
3638
= note: required because of the requirements on the impl of `wasm_bindgen::__rt::IntoJsResult` for `BadType`
3739
= note: required by `wasm_bindgen::__rt::IntoJsResult::into_js_result`
40+
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
3841

3942
error[E0277]: the trait bound `std::result::Result<BadType, wasm_bindgen::JsValue>: wasm_bindgen::__rt::IntoJsResult` is not satisfied
4043
--> $DIR/async-errors.rs:36:1
@@ -46,3 +49,4 @@ error[E0277]: the trait bound `std::result::Result<BadType, wasm_bindgen::JsValu
4649
<std::result::Result<(), E> as wasm_bindgen::__rt::IntoJsResult>
4750
<std::result::Result<T, E> as wasm_bindgen::__rt::IntoJsResult>
4851
= note: required by `wasm_bindgen::__rt::IntoJsResult::into_js_result`
52+
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)

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

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

2324
error[E0277]: the trait bound `std::result::Result<wasm_bindgen::JsValue, wasm_bindgen::JsValue>: wasm_bindgen::__rt::Start` is not satisfied
2425
--> $DIR/start-function.rs:30:1
@@ -29,3 +30,4 @@ error[E0277]: the trait bound `std::result::Result<wasm_bindgen::JsValue, wasm_b
2930
= help: the following implementations were found:
3031
<std::result::Result<(), E> as wasm_bindgen::__rt::Start>
3132
= note: required by `wasm_bindgen::__rt::Start::start`
33+
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
//! interface.
77
88
#![no_std]
9+
#![allow(coherence_leak_check)]
910
#![doc(html_root_url = "https://docs.rs/wasm-bindgen/0.2")]
1011
#![cfg_attr(feature = "nightly", feature(unsize))]
1112

0 commit comments

Comments
 (0)