summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/load-panic.rs
blob: 6ce88c400e0f7c4e343c898a333c146b8c38eec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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() {}