summaryrefslogtreecommitdiffstats
path: root/src/test/ui/proc-macro/load-panic.rs
blob: 2e9a311d882bd3019f107d6e11a4a28b1546e0bf (plain)
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() {}