blob: 5c77fc71e55aac3a94e32ddaba751bd4a1504519 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
error[E0119]: conflicting implementations of trait `NoOverlap` for type `W<_>`
--> $DIR/ambiguous-pass.rs:18:1
|
LL | impl<T: Trait> NoOverlap for T {}
| ------------------------------ first implementation here
LL |
LL | impl<T: Trait<Assoc = ()>> NoOverlap for W<T> {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `W<_>`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0119`.
|