]> git.lizzy.rs Git - rust.git/blob - tests/ui/coherence/strict-coherence-needs-negative-coherence.rs
Auto merge of #106853 - TimNN:undo-remap, r=oli-obk
[rust.git] / tests / ui / coherence / strict-coherence-needs-negative-coherence.rs
1 #![feature(rustc_attrs)]
2
3 #[rustc_strict_coherence]
4 trait Foo {}
5 //~^ ERROR to use `strict_coherence` on this trait, the `with_negative_coherence` feature must be enabled
6
7 fn main() {}