diff --git a/crates/macro/ui-tests/async-errors.stderr b/crates/macro/ui-tests/async-errors.stderr index 118064fc..501298f9 100644 --- a/crates/macro/ui-tests/async-errors.stderr +++ b/crates/macro/ui-tests/async-errors.stderr @@ -8,6 +8,7 @@ error[E0277]: the trait bound `std::result::Result<(), ()>: wasm_bindgen::__rt:: as wasm_bindgen::__rt::IntoJsResult> as wasm_bindgen::__rt::IntoJsResult> = note: required by `wasm_bindgen::__rt::IntoJsResult::into_js_result` + = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `std::result::Result<(), BadType>: wasm_bindgen::__rt::IntoJsResult` is not satisfied --> $DIR/async-errors.rs:32:1 @@ -19,6 +20,7 @@ error[E0277]: the trait bound `std::result::Result<(), BadType>: wasm_bindgen::_ as wasm_bindgen::__rt::IntoJsResult> as wasm_bindgen::__rt::IntoJsResult> = note: required by `wasm_bindgen::__rt::IntoJsResult::into_js_result` + = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `wasm_bindgen::JsValue: std::convert::From` is not satisfied --> $DIR/async-errors.rs:34:1 @@ -35,6 +37,7 @@ error[E0277]: the trait bound `wasm_bindgen::JsValue: std::convert::From` for `BadType` = note: required because of the requirements on the impl of `wasm_bindgen::__rt::IntoJsResult` for `BadType` = note: required by `wasm_bindgen::__rt::IntoJsResult::into_js_result` + = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `std::result::Result: wasm_bindgen::__rt::IntoJsResult` is not satisfied --> $DIR/async-errors.rs:36:1 @@ -46,3 +49,4 @@ error[E0277]: the trait bound `std::result::Result as wasm_bindgen::__rt::IntoJsResult> as wasm_bindgen::__rt::IntoJsResult> = note: required by `wasm_bindgen::__rt::IntoJsResult::into_js_result` + = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/crates/macro/ui-tests/start-function.stderr b/crates/macro/ui-tests/start-function.stderr index 81814584..870c7819 100644 --- a/crates/macro/ui-tests/start-function.stderr +++ b/crates/macro/ui-tests/start-function.stderr @@ -19,6 +19,7 @@ error[E0277]: the trait bound `std::result::Result: w = help: the following implementations were found: as wasm_bindgen::__rt::Start> = note: required by `wasm_bindgen::__rt::Start::start` + = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `std::result::Result: wasm_bindgen::__rt::Start` is not satisfied --> $DIR/start-function.rs:30:1 @@ -29,3 +30,4 @@ error[E0277]: the trait bound `std::result::Result as wasm_bindgen::__rt::Start> = note: required by `wasm_bindgen::__rt::Start::start` + = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/src/lib.rs b/src/lib.rs index ca1370e6..2953a437 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,6 +6,7 @@ //! interface. #![no_std] +#![allow(coherence_leak_check)] #![doc(html_root_url = "https://docs.rs/wasm-bindgen/0.2")] #![cfg_attr(feature = "nightly", feature(unsize))]