rust/tests/ui/proc-macro/derive-helper-vs-legacy.rs
2024-02-16 20:02:50 +00:00

13 lines
218 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() {}