]>
Commit | Line | Data |
---|---|---|
1 | error: conflicting implementations of trait `IntoWasmAbi` for type `&dyn Fn(&_) -> _` | |
2 | --> $DIR/coherence-wasm-bindgen.rs:28:1 | |
3 | | | |
4 | LL | / impl<'a, 'b, A, R> IntoWasmAbi for &'a (dyn Fn(A) -> R + 'b) | |
5 | LL | | where | |
6 | LL | | A: FromWasmAbi, | |
7 | LL | | R: ReturnWasmAbi, | |
8 | | |_____________________- first implementation here | |
9 | ... | |
10 | LL | / impl<'a, 'b, A, R> IntoWasmAbi for &'a (dyn for<'x> Fn(&'x A) -> R + 'b) | |
11 | LL | | where | |
12 | LL | | A: RefFromWasmAbi, | |
13 | LL | | R: ReturnWasmAbi, | |
14 | | |_____________________^ conflicting implementation for `&dyn Fn(&_) -> _` | |
15 | | | |
16 | = warning: the behavior may change in a future release | |
17 | = note: for more information, see issue #56105 <https://github.com/rust-lang/rust/issues/56105> | |
18 | = note: downstream crates may implement trait `FromWasmAbi` for type `&_` | |
19 | = note: this behavior recently changed as a result of a bug fix; see rust-lang/rust#56105 for details | |
20 | note: the lint level is defined here | |
21 | --> $DIR/coherence-wasm-bindgen.rs:10:9 | |
22 | | | |
23 | LL | #![deny(coherence_leak_check)] | |
24 | | ^^^^^^^^^^^^^^^^^^^^ | |
25 | ||
26 | error: aborting due to 1 previous error | |
27 |