rust/tests/ui/proc-macro/derive-helper-legacy-spurious.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
327 B
Rust
Raw Normal View History

2021-02-22 15:07:36 -06:00
// 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
2021-02-22 15:07:36 -06:00
struct Foo {}
fn main() {}