]> git.proxmox.com Git - rustc.git/blame - src/test/ui/proc-macro/helper-attr-blocked-by-import-ambig.rs
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / proc-macro / helper-attr-blocked-by-import-ambig.rs
CommitLineData
dc9dc135
XL
1// aux-build:test-macros.rs
2
3#[macro_use(Empty)]
4extern crate test_macros;
5use 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
11struct S;
12
13fn main() {}