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

13 lines
327 B
Rust

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