mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
fix: Fix parsing of integer/keyword name refs in various places
This commit is contained in:
parent
f499faf72b
commit
df7ab62a06
33 changed files with 351 additions and 133 deletions
|
@ -1733,7 +1733,7 @@ m!(C("0"));
|
|||
macro_rules! m {
|
||||
($k:expr) => { fn f() { K::$k; } }
|
||||
}
|
||||
/* parse error: expected identifier */
|
||||
/* parse error: expected identifier, `self`, `super`, `crate`, or `Self` */
|
||||
/* parse error: expected SEMICOLON */
|
||||
/* parse error: expected SEMICOLON */
|
||||
/* parse error: expected expression, item or let statement */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue