]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/proc-macro/derive-helper-shadowing.rs
1 // aux-build:test-macros.rs
4 extern crate test_macros
;
6 use test_macros
::empty_attr
as empty_helper
;
8 #[empty_helper] //~ ERROR `empty_helper` is ambiguous
11 // FIXME No ambiguity, attributes in non-macro positions are not resolved properly
14 // FIXME No ambiguity, derive helpers are not put into scope for non-attributes
17 // FIXME No ambiguity, derive helpers are not put into scope for inner items
22 #[empty_helper] //~ ERROR attribute `empty_helper` is currently unknown
31 let s
= S { field: [] }
;