1 // aux-build:test-macros.rs
2 // compile-flags: -Z proc-macro-backtrace
3 // rustc-env:RUST_BACKTRACE=0
4 // normalize-stderr-test "thread '.*' panicked " -> ""
5 // normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> ""
6 // needs-unwind proc macro panics to report errors
9 extern crate test_macros;
12 //~^ ERROR: proc-macro derive panicked