//@ run-pass trait Tr { type T; } impl Tr for u8 { type T=(); } struct S(#[allow(dead_code)] I::T); fn foo(i: I::T) { S::(i); } fn main() { foo::(()); }