granite-rust/tests/ui/traits/reservation-impl/coherence-conflict.stderr

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

14 lines
469 B
Text
Raw Normal View History

2021-04-06 18:16:11 -07:00
error[E0119]: conflicting implementations of trait `OtherTrait` for type `()`
2021-02-08 23:15:45 +01:00
--> $DIR/coherence-conflict.rs:11:1
2019-07-13 22:52:57 +03:00
|
LL | impl OtherTrait for () {}
| ---------------------- first implementation here
LL | impl<T: MyTrait> OtherTrait for T {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `()`
2019-07-27 22:18:34 +03:00
|
= note: this impl is reserved
2019-07-13 22:52:57 +03:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0119`.