summaryrefslogtreecommitdiffstats
path: root/vendor/wasm-bindgen-macro/ui-tests/traits-not-implemented.stderr
blob: 7b0f90f574c391fb9e121e53fffb98dcf97fc3ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)