summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/negative-bounds/supertrait.rs
blob: df0884b8b9f1601eb4fcfafe1a0c231c315f64d7 (plain)
1
2
3
4
5
6
7
8
9
// check-pass

#![feature(negative_bounds)]
//~^ WARN the feature `negative_bounds` is incomplete

trait A: !B {}
trait B: !A {}

fn main() {}