]> git.proxmox.com Git - rustc.git/blob - src/test/ui/proc-macro/load-panic-backtrace.rs
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / proc-macro / load-panic-backtrace.rs
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
7 #[macro_use]
8 extern crate test_macros;
9
10 #[derive(Panic)]
11 //~^ ERROR: proc-macro derive panicked
12 struct Foo;
13
14 fn main() {}