]> git.lizzy.rs Git - rust.git/blob - tests/ui/coherence/coherence-error-suppression.rs
Auto merge of #106853 - TimNN:undo-remap, r=oli-obk
[rust.git] / tests / ui / coherence / coherence-error-suppression.rs
1 // check that error types in coherence do not cause error cascades.
2
3 trait Foo {}
4
5 impl Foo for i8 {}
6 impl Foo for i16 {}
7 impl Foo for i32 {}
8 impl Foo for i64 {}
9 impl Foo for DoesNotExist {}
10 //~^ ERROR E0412
11 impl Foo for u8 {}
12 impl Foo for u16 {}
13 impl Foo for u32 {}
14 impl Foo for u64 {}
15
16 fn main() {}