Can't match a literal underscore in pattern
Created by: natefaubion
macro test {
rule { $[_] } => {
'underscore'
}
rule { $foo:ident } => {
'ident'
}
}
test foo
'underscore'
Created by: natefaubion
macro test {
rule { $[_] } => {
'underscore'
}
rule { $foo:ident } => {
'ident'
}
}
test foo
'underscore'