//@ check-pass pub trait Foo { type X: PartialEq; type Y: PartialEq; type Z: PartialEq; } fn uwu(x: &dyn Foo) {} fn main() {}