]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence-cross-crate-conflict.rs
Stabilize File::options()
[rust.git] / src / test / ui / coherence / coherence-cross-crate-conflict.rs
1 // The error here is strictly due to orphan rules; the impl here
2 // generalizes the one upstream
3
4 // aux-build:trait_impl_conflict.rs
5
6 extern crate trait_impl_conflict;
7 use trait_impl_conflict::Foo;
8
9 impl<A> Foo for A {
10     //~^ ERROR E0119
11     //~| ERROR E0210
12 }
13
14 fn main() {
15 }