2 // aux-build:macro_rules.rs
4 #![warn(clippy::must_use_unit)]
5 #![allow(clippy::unused_unit)]
8 extern crate macro_rules;
11 pub fn must_use_default() {}
14 pub fn must_use_unit() -> () {}
16 #[must_use = "With note"]
17 pub fn must_use_with_note() {}
24 // We should not lint in external macros