Files
rust/tests/ui/traits/negative-bounds/supertrait.rs
2023-05-04 17:24:13 +00:00

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() {}