Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
coherence
/
strict-coherence-needs-negative-coherence.rs
blob: 221683dd56f480a30e087616def60aa22b6320a9 [
file
] [
log
] [
blame
]
#![
feature
(
rustc_attrs
)]
#[
rustc_strict_coherence
]
trait
Foo
{}
//~^ ERROR to use `strict_coherence` on this trait, the `with_negative_coherence` feature must be enabled
fn
main
()
{}