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