2 #![allow(unused_variables)]
3 // Regression test for Issue #20343.
5 // pretty-expanded FIXME #23616
13 trait T<A> { fn dummy(&self, a: A) { } }
14 impl<A> T<A> for () {}
17 // test for unused code in arguments
18 fn foo(B { b }: B) -> u32 { b }
20 // test for unused code in return type
21 fn bar() -> C { unsafe { ::std::mem::transmute(()) } }
23 // test for unused code in generics