]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/helper-attr-blocked-by-import-ambig.rs
Rollup merge of #106591 - Ezrashaw:attempted-integer-identifer, r=Estebank
[rust.git] / tests / ui / proc-macro / helper-attr-blocked-by-import-ambig.rs
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
7 #[empty_helper] //~ ERROR `empty_helper` is ambiguous
8                 //~| WARN derive helper attribute is used before it is introduced
9                 //~| WARN this was previously accepted
10 #[derive(Empty)]
11 struct S;
12
13 fn main() {}