macro_rules! print_log {
($type:expr, $( $($label:expr =>)? $arg:expr ),*) => { ... }
}
If I use it like print_log!("foo", evt => "added"), I get error on the evt: error: local ambiguity when calling macro print_log: multiple parsing options: built-in NTs expr ('label') or expr ('arg').
But the label token is supposed to be followed by a => so there shouldn't be any ambiguity here?