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

10 lines
143 B
Rust

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