about summary refs log tree commit diff
path: root/tests/ui/proc-macro/derive-helper-legacy-spurious.rs
blob: 8e902f3041932e84afb316efa0ea0467235aad3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//@ proc-macro: 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() {}