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`
|
2021-02-22 15:54:09 -06:00
|
|
|
#[empty_helper] //~ ERROR cannot find attribute `empty_helper` in this scope
|
2021-02-22 15:07:36 -06:00
|
|
|
struct Foo {}
|
|
|
|
|
|
|
|
fn main() {}
|