]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence-overlap-negate-use-feature-gate.rs
Merge commit 'ea199bacef07213dbe008841b89c450e3bf0c638' into rustfmt-sync
[rust.git] / src / test / ui / coherence / coherence-overlap-negate-use-feature-gate.rs
1 // check-pass
2
3 #![feature(negative_impls)]
4
5 use std::ops::DerefMut;
6
7 trait Foo {}
8 impl<T: DerefMut> Foo for T {}
9 impl<U> Foo for &U {}
10
11 fn main() {}