1 //@aux-build:proc_macros.rs
3 #![warn(clippy::must_use_unit)]
4 #![allow(clippy::unused_unit)]
6 extern crate proc_macros;
7 use proc_macros::external;
10 pub fn must_use_default() {}
13 pub fn must_use_unit() -> () {}
16 pub fn must_use_with_note() {}
23 // We should not lint in external macros