5 extern crate serde_derive;
7 /// Test that we do not lint for unused underscores in a `MacroAttribute`
9 #[deny(used_underscore_binding)]
10 #[derive(Deserialize)]
11 struct MacroAttributesTest {
16 fn macro_attributes_test() {
17 let _ = MacroAttributesTest { _foo: 0 };