]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-38715.rs
Auto merge of #55519 - fhartwig:hashmap-index-example, r=Centril
[rust.git] / src / test / ui / issues / issue-38715.rs
1 #[macro_export]
2 macro_rules! foo { ($i:ident) => {} }
3
4 #[macro_export]
5 macro_rules! foo { () => {} } //~ ERROR a macro named `foo` has already been exported
6                               //~| WARN this was previously accepted
7
8 fn main() {}