rust/tests/ui/impl-trait/negative-reasoning.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
488 B
Plaintext
Raw Normal View History

2024-09-21 07:02:51 +00:00
error[E0119]: conflicting implementations of trait `AnotherTrait` for type `D<_>`
2021-05-09 18:53:13 +00:00
--> $DIR/negative-reasoning.rs:19:1
|
LL | impl<T: std::fmt::Debug> AnotherTrait for T {}
| ------------------------------------------- first implementation here
...
LL | impl AnotherTrait for D<OpaqueType> {
2024-09-21 07:02:51 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `D<_>`
2021-05-09 18:53:13 +00:00
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0119`.