Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
coherence
/
coherence-overlap-double-negative.rs
blob: 917760b0174a8b20ee38267b6a1d7bd8011c39c8 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
#![
feature
(
negative_impls
)]
#![
feature
(
with_negative_coherence
)]
trait
A
{}
trait
B
:
A
{}
impl
!
A
for
u32
{}
impl
!
B
for
u32
{}
fn
main
()
{}