summaryrefslogtreecommitdiffstats
path: root/tests/ui/coherence/occurs-check/opaques.next.stderr
blob: 428ee902ea528e0dbc989947878edf20afa56f45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0119]: conflicting implementations of trait `Trait<Alias<_>>` for type `Alias<_>`
  --> $DIR/opaques.rs:29:1
   |
LL | impl<T> Trait<T> for T {
   | ---------------------- first implementation here
...
LL | impl<T> Trait<T> for defining_scope::Alias<T> {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Alias<_>`

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0119`.