]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/helper-attr-blocked-by-import-ambig.rs
Add 'src/tools/miri/' from commit '75dd959a3a40eb5b4574f8d2e23aa6efbeb33573'
[rust.git] / src / test / 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() {}