#![crate_type = "lib"] pub struct V(#[allow(unused_tuple_struct_fields)] S); pub trait An { type U; } pub trait F { } impl F for V<::U> { }