]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/load-panic.rs
Auto merge of #101924 - jackh726:revert-static-hrtb-error, r=compiler-errors
[rust.git] / src / test / 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() {}