Files
rust/tests/ui/traits/next-solver/coherence/coherence-fulfill-overflow.stderr

12 lines
568 B
Plaintext
Raw Normal View History

error[E0119]: conflicting implementations of trait `Trait` for type `W<W<W<W<W<W<W<W<W<W<W<W<W<W<W<W<W<W<W<W<W<W<W<_>>>>>>>>>>>>>>>>>>>>>>>`
--> $DIR/coherence-fulfill-overflow.rs:14:1
2024-02-20 02:13:28 +00:00
|
LL | impl<T: TwoW> Trait for W<T> {}
| ---------------------------- first implementation here
LL | impl<T: TwoW> Trait for T {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `W<W<W<W<W<W<W<W<W<W<W<W<W<W<W<W<W<W<W<W<W<W<W<_>>>>>>>>>>>>>>>>>>>>>>>`
2024-02-20 02:13:28 +00:00
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0119`.