You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 casemacro_rules! mac {($e:expr) => ("hello");}fnmain(){println!("{}", mac!());}
<anon>:1:1: 1:1 error: unexpected end of macro invocation
<anon>:1 // Test case
^
playpen: application terminated with error code 101