rust/src/test/ui/issues/issue-38715.rs
2019-11-06 11:10:37 +01:00

8 lines
171 B
Rust

#[macro_export]
macro_rules! foo { ($i:ident) => {} }
#[macro_export]
macro_rules! foo { () => {} } //~ ERROR a macro named `foo` has already been exported
fn main() {}