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

10 lines
143 B
Rust
Raw Normal View History

// check-pass
#![feature(negative_bounds)]
//~^ WARN the feature `negative_bounds` is incomplete
trait A: !B {}
trait B: !A {}
fn main() {}