]> git.proxmox.com Git - rustc.git/blame - tests/ui/coherence/coherence-wasm-bindgen.stderr
bump version to 1.80.1+dfsg1-1~bpo12+pve1
[rustc.git] / tests / ui / coherence / coherence-wasm-bindgen.stderr
CommitLineData
487cf647 1error: conflicting implementations of trait `IntoWasmAbi` for type `&dyn Fn(&_) -> _`
f035d41b
XL
2 --> $DIR/coherence-wasm-bindgen.rs:28:1
3 |
ed00b5ec
FG
4LL | / impl<'a, 'b, A, R> IntoWasmAbi for &'a (dyn Fn(A) -> R + 'b)
5LL | | where
6LL | | A: FromWasmAbi,
7LL | | R: ReturnWasmAbi,
8 | |_____________________- first implementation here
f035d41b 9...
ed00b5ec
FG
10LL | / impl<'a, 'b, A, R> IntoWasmAbi for &'a (dyn for<'x> Fn(&'x A) -> R + 'b)
11LL | | where
12LL | | A: RefFromWasmAbi,
13LL | | 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
20note: the lint level is defined here
21 --> $DIR/coherence-wasm-bindgen.rs:10:9
22 |
23LL | #![deny(coherence_leak_check)]
24 | ^^^^^^^^^^^^^^^^^^^^
f035d41b 25
4b012472 26error: aborting due to 1 previous error
f035d41b 27