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