rust/tests/ui/proc-macro/derive-helper-legacy-spurio...

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