rust/tests/ui/proc-macro/derive-helper-vs-legacy.rs
2023-01-11 09:32:08 +00:00

13 lines
216 B
Rust

// check-pass
// aux-build:test-macros.rs
#[macro_use]
extern crate test_macros;
#[derive(Empty)]
#[empty_helper] // OK, this is both derive helper and legacy derive helper
#[derive(Empty)]
struct S;
fn main() {}