]> git.proxmox.com Git - rustc.git/blame - src/test/ui/impl-trait/negative-reasoning.stderr
New upstream version 1.51.0+dfsg1
[rustc.git] / src / test / ui / impl-trait / negative-reasoning.stderr
CommitLineData
f035d41b
XL
1error[E0119]: conflicting implementations of trait `AnotherTrait` for type `D<impl OpaqueTrait>`:
2 --> $DIR/negative-reasoning.rs:19:1
e74abb32 3 |
f035d41b 4LL | impl<T: std::fmt::Debug> AnotherTrait for T {}
e74abb32
XL
5 | ------------------------------------------- first implementation here
6...
7LL | impl AnotherTrait for D<OpaqueType> {
f035d41b 8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `D<impl OpaqueTrait>`
e74abb32 9 |
f035d41b 10 = note: upstream crates may add a new impl of trait `std::fmt::Debug` for type `impl OpaqueTrait` in future versions
e74abb32
XL
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0119`.