rust/tests/ui/proc-macro/load-panic.rs
2024-02-16 20:02:50 +00:00

12 lines
204 B
Rust

//@ aux-build:test-macros.rs
//@ needs-unwind proc macro panics to report errors
#[macro_use]
extern crate test_macros;
#[derive(Panic)]
//~^ ERROR: proc-macro derive panicked
struct Foo;
fn main() {}