mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Merge #2641
2641: Parse const generics r=matklad a=roblabla Adds very primitive support for parsing const generics (`const IDENT: TY`) so that rust-analyzer stops complaining about the syntax being invalid. Fixes #1574 Fixes #2281 Co-authored-by: roblabla <unfiltered@roblab.la>
This commit is contained in:
commit
d33493d779
6 changed files with 71 additions and 0 deletions
|
@ -229,6 +229,7 @@ pub enum SyntaxKind {
|
|||
TYPE_PARAM_LIST,
|
||||
LIFETIME_PARAM,
|
||||
TYPE_PARAM,
|
||||
CONST_PARAM,
|
||||
TYPE_ARG_LIST,
|
||||
LIFETIME_ARG,
|
||||
TYPE_ARG,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue