]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/issue-36935.rs
Auto merge of #107297 - Mark-Simulacrum:bump-bootstrap, r=pietroalbini
[rust.git] / tests / ui / proc-macro / issue-36935.rs
1 // aux-build:test-macros.rs
2 // needs-unwind proc macro panics to report errors
3
4 #[macro_use]
5 extern crate test_macros;
6
7 #[derive(Identity, Panic)] //~ ERROR proc-macro derive panicked
8 struct Baz {
9     //~^ ERROR the name `Baz` is defined multiple times
10     a: i32,
11     b: i32,
12 }
13
14 fn main() {}