summaryrefslogtreecommitdiffstats
path: root/tests/ui/coherence/coherence-error-suppression.rs
blob: 909214c1b6e379b782872f79c820a782fcaded29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// check that error types in coherence do not cause error cascades.

trait Foo {}

impl Foo for i8 {}
impl Foo for i16 {}
impl Foo for i32 {}
impl Foo for i64 {}
impl Foo for DoesNotExist {}
//~^ ERROR E0412
impl Foo for u8 {}
impl Foo for u16 {}
impl Foo for u32 {}
impl Foo for u64 {}

fn main() {}