]>
Commit | Line | Data |
---|---|---|
54a0048b SL |
1 | // The error here is strictly due to orphan rules; the impl here |
2 | // generalizes the one upstream | |
223e47cc | 3 | |
1a4d82fc | 4 | // aux-build:trait_impl_conflict.rs |
0731742a | 5 | |
1a4d82fc JJ |
6 | extern crate trait_impl_conflict; |
7 | use trait_impl_conflict::Foo; | |
970d7e83 | 8 | |
1a4d82fc | 9 | impl<A> Foo for A { |
60c5eb7d XL |
10 | //~^ ERROR E0119 |
11 | //~| ERROR E0210 | |
223e47cc LB |
12 | } |
13 | ||
14 | fn main() { | |
223e47cc | 15 | } |