]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/derive-helper-vs-legacy.rs
Rollup merge of #106978 - mejrs:mir_build3, r=davidtwco
[rust.git] / tests / ui / proc-macro / derive-helper-vs-legacy.rs
1 // check-pass
2 // aux-build:test-macros.rs
3
4 #[macro_use]
5 extern crate test_macros;
6
7 #[derive(Empty)]
8 #[empty_helper] // OK, this is both derive helper and legacy derive helper
9 #[derive(Empty)]
10 struct S;
11
12 fn main() {}