]>
Commit | Line | Data |
---|---|---|
dc9dc135 XL |
1 | // aux-build:test-macros.rs |
2 | ||
3 | #[macro_use(Empty)] | |
4 | extern crate test_macros; | |
5 | use test_macros::empty_attr as empty_helper; | |
6 | ||
dc9dc135 | 7 | #[empty_helper] //~ ERROR `empty_helper` is ambiguous |
6a06907d XL |
8 | //~| WARN derive helper attribute is used before it is introduced |
9 | //~| WARN this was previously accepted | |
10 | #[derive(Empty)] | |
dc9dc135 XL |
11 | struct S; |
12 | ||
13 | fn main() {} |