blob: e583a7c1fc6502c7aef76af00eef40744756cfe8 [file] [log] [blame] [edit]
//@ known-bug: #127804
struct Thing;
pub trait Every {
type Assoc;
}
impl<T: ?Sized> Every for Thing {
type Assoc = T;
}
fn foo(_: <Thing as Every>::Assoc) {}