Closed
Description
openedon Dec 13, 2013
macro_rules! foo ( () => () );
fn main() { foo!() }
expand.rs:1:0: 1:0 error: unexpected token: `<eof>`
expand.rs:1 macro_rules! foo ( () => () );
^
(Moving the foo!()
outside main
works.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)Area: Syntax extensionsArea: Syntax extensionsCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.Low priorityLow priority