summaryrefslogtreecommitdiffstats
path: root/src/test/ui/coherence/coherence-cross-crate-conflict.rs
blob: 588630957c94a323b5f98f45a0b64543685792ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// The error here is strictly due to orphan rules; the impl here
// generalizes the one upstream

// aux-build:trait_impl_conflict.rs

extern crate trait_impl_conflict;
use trait_impl_conflict::Foo;

impl<A> Foo for A { //~ ERROR E0210
}

fn main() {
}