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