summaryrefslogtreecommitdiffstats
path: root/vendor/wasm-bindgen-macro/ui-tests/traits-not-implemented.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/wasm-bindgen-macro/ui-tests/traits-not-implemented.stderr')
-rw-r--r--vendor/wasm-bindgen-macro/ui-tests/traits-not-implemented.stderr18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/wasm-bindgen-macro/ui-tests/traits-not-implemented.stderr b/vendor/wasm-bindgen-macro/ui-tests/traits-not-implemented.stderr
new file mode 100644
index 000000000..7b0f90f57
--- /dev/null
+++ b/vendor/wasm-bindgen-macro/ui-tests/traits-not-implemented.stderr
@@ -0,0 +1,18 @@
+error[E0277]: the trait bound `A: IntoWasmAbi` is not satisfied
+ --> $DIR/traits-not-implemented.rs:5:1
+ |
+5 | #[wasm_bindgen]
+ | ^^^^^^^^^^^^^^^ the trait `IntoWasmAbi` is not implemented for `A`
+ |
+note: required by a bound in `IntoWasmAbi`
+ --> $DIR/traits.rs:9:1
+ |
+9 | / pub trait IntoWasmAbi: WasmDescribe {
+10 | | /// The wasm ABI type that this converts into when crossing the ABI
+11 | | /// boundary.
+12 | | type Abi: WasmAbi;
+... |
+16 | | fn into_abi(self) -> Self::Abi;
+17 | | }
+ | |_^ required by this bound in `IntoWasmAbi`
+ = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)