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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
89 B
Rust
Raw Normal View History

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