]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-with_negative_coherence.rs
parser will not give wrong help message for 'public'
[rust.git] / src / test / ui / feature-gates / feature-gate-with_negative_coherence.rs
1 trait Foo { }
2
3 impl<T: std::ops::DerefMut> Foo for T { }
4
5 impl<T> Foo for &T { }
6 //~^ ERROR conflicting implementations of trait `Foo` for type `&_` [E0119]
7
8 fn main() { }