1 extern crate proc_macro_error; 2 use proc_macro_error::abort; 3 4 struct Foo; 5 6 #[allow(unused)] foo()7 fn foo() { 8 abort!(Foo, "BOOM"); 9 } 10 main()11 fn main() {} 12