]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence-overlap-negate-use-feature-gate.rs
Rollup merge of #93613 - crlf0710:rename_to_async_iter, r=yaahc
[rust.git] / src / test / ui / coherence / coherence-overlap-negate-use-feature-gate.rs
1 // check-pass
2
3 #![feature(with_negative_coherence)]
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() {}