blob: cd6f70a55758c3b1b61d06ab93e27fa57388917a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// aux-build:test-macros.rs
// compile-flags: -Z proc-macro-backtrace
// rustc-env:RUST_BACKTRACE=0
// normalize-stderr-test "thread '.*' panicked " -> ""
// normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> ""
#[macro_use]
extern crate test_macros;
#[derive(Panic)]
//~^ ERROR: proc-macro derive panicked
struct Foo;
fn main() {}
|