diff options
Diffstat (limited to 'src/test/ui/traits/reservation-impl/coherence-conflict.rs')
-rw-r--r-- | src/test/ui/traits/reservation-impl/coherence-conflict.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/traits/reservation-impl/coherence-conflict.rs b/src/test/ui/traits/reservation-impl/coherence-conflict.rs deleted file mode 100644 index fa4a30931..000000000 --- a/src/test/ui/traits/reservation-impl/coherence-conflict.rs +++ /dev/null @@ -1,14 +0,0 @@ -// check that reservation impls are accounted for in negative reasoning. - -#![feature(rustc_attrs)] - -trait MyTrait {} -#[rustc_reservation_impl="this impl is reserved"] -impl MyTrait for () {} - -trait OtherTrait {} -impl OtherTrait for () {} -impl<T: MyTrait> OtherTrait for T {} -//~^ ERROR conflicting implementations - -fn main() {} |