4 extern crate rustc_serialize;
6 /// Test that we do not lint for unused underscores in a `MacroAttribute` expansion
7 #[deny(used_underscore_binding)]
8 #[derive(RustcEncodable)]
9 struct MacroAttributesTest {
14 fn macro_attributes_test() {
15 let _ = MacroAttributesTest { _foo: 0 };