//@ check-pass // https://github.com/rust-lang/rust/issues/119792 struct Wrapper(T); trait Div {} trait Mul { type Output; } impl Mul for Wrapper { type Output = (); } impl Div for Wrapper {} pub trait NumOps {} impl NumOps for T where T: Mul + Div {}