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

9 lines
90 B
Rust
Raw Normal View History

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