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

12 lines
257 B
Rust

//@ aux-build:test-macros.rs
#![dummy] //~ ERROR cannot find attribute `dummy` in this scope
#[macro_use]
extern crate test_macros;
#[derive(Empty)]
#[empty_helper] //~ ERROR cannot find attribute `empty_helper` in this scope
struct Foo {}
fn main() {}