trait X {} impl X for A {} struct S { x: int, drop {} } impl X for S {} pub fn main(){}