rust/tests/ui/traits/negative-bounds/supertrait.rs

9 lines
90 B
Rust

//@ check-pass
#![feature(negative_bounds)]
trait A: !B {}
trait B: !A {}
fn main() {}