1 2 3 4 5 6 7 8 9 10
// aux-build:test-macros.rs #[macro_use] extern crate test_macros; #[derive(Panic)] //~^ ERROR: proc-macro derive panicked struct Foo; fn main() {}