//@ known-bug: #117829 #![feature(auto_traits)] trait B {} auto trait Z where T: Z, >::W: B, { type W; } fn main() {}