]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/load-panic.rs
Rollup merge of #106591 - Ezrashaw:attempted-integer-identifer, r=Estebank
[rust.git] / tests / ui / proc-macro / load-panic.rs
1 // aux-build:test-macros.rs
2 // needs-unwind proc macro panics to report errors
3
4 #[macro_use]
5 extern crate test_macros;
6
7 #[derive(Panic)]
8 //~^ ERROR: proc-macro derive panicked
9 struct Foo;
10
11 fn main() {}