]>
Commit | Line | Data |
---|---|---|
487cf647 | 1 | error: conflicting implementations of trait `IntoWasmAbi` for type `&dyn Fn(&_) -> _` |
f035d41b XL |
2 | --> $DIR/coherence-wasm-bindgen.rs:28:1 |
3 | | | |
ed00b5ec FG |
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 | |
f035d41b | 9 | ... |
ed00b5ec FG |
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(&_) -> _` | |
f035d41b | 15 | | |
c620b35d | 16 | = warning: the behavior may change in a future release |
2b03887a FG |
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 | |
f035d41b XL |
20 | note: the lint level is defined here |
21 | --> $DIR/coherence-wasm-bindgen.rs:10:9 | |
22 | | | |
23 | LL | #![deny(coherence_leak_check)] | |
24 | | ^^^^^^^^^^^^^^^^^^^^ | |
f035d41b | 25 | |
4b012472 | 26 | error: aborting due to 1 previous error |
f035d41b | 27 |