1 #![feature(tool_lints)]
3 #![allow(clippy::useless_attribute)] //issue #2910
6 extern crate serde_derive;
8 /// Test that we do not lint for unused underscores in a `MacroAttribute`
10 #[deny(clippy::used_underscore_binding)]
11 #[derive(Deserialize)]
12 struct MacroAttributesTest {
17 fn macro_attributes_test() {
18 let _ = MacroAttributesTest { _foo: 0 };