mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Fix a bug for single dollar sign macro
This commit is contained in:
parent
b55d22e060
commit
3dc3d9d18f
3 changed files with 16 additions and 6 deletions
|
@ -23,6 +23,7 @@ mod rule_parsing {
|
|||
check("($($i:ident)*) => ($_)");
|
||||
check("($($true:ident)*) => ($true)");
|
||||
check("($($false:ident)*) => ($false)");
|
||||
check("($) => ($)");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue