rust/tests/ui/traits/negative-bounds/supertrait.rs
2024-02-16 20:02:50 +00:00

9 lines
90 B
Rust

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