Closed
Description
When a macro that expects arguments is not passed any, the "unexpected end of macro invocation" message is placed at the start of the crate root file, instead of the invocation.
// Test case
macro_rules! mac {
($e:expr) => ("hello");
}
fn main() {
println!("{}", mac!());
}
<anon>:1:1: 1:1 error: unexpected end of macro invocation
<anon>:1 // Test case
^
playpen: application terminated with error code 101