trait Expr : PartialEq { //~^ ERROR: cycle detected type Item; } fn main() {}