mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Rename TypeArgList -> GenericArgList
This commit is contained in:
parent
54fd09a9ca
commit
91781c7ce8
41 changed files with 70 additions and 70 deletions
|
@ -208,7 +208,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc {
|
|||
"LIFETIME_PARAM",
|
||||
"TYPE_PARAM",
|
||||
"CONST_PARAM",
|
||||
"TYPE_ARG_LIST",
|
||||
"GENERIC_ARG_LIST",
|
||||
"LIFETIME_ARG",
|
||||
"TYPE_ARG",
|
||||
"ASSOC_TYPE_ARG",
|
||||
|
|
|
@ -3,11 +3,11 @@ Path =
|
|||
|
||||
PathSegment =
|
||||
'::' | 'crate' | 'self' | 'super'
|
||||
| (NameRef ('::'? TypeArgList)?)
|
||||
| (NameRef ('::'? GenericArgList)?)
|
||||
| NameRef ParamList RetType?
|
||||
| '<' PathType ('as' PathType)? '>'
|
||||
|
||||
TypeArgList =
|
||||
GenericArgList =
|
||||
'::'? '<'
|
||||
TypeArg*
|
||||
LifetimeArg*
|
||||
|
@ -348,7 +348,7 @@ ArgList =
|
|||
'(' args:(Expr (',' Expr)* ','?)? ')'
|
||||
|
||||
MethodCallExpr =
|
||||
Attr* Expr '.' NameRef TypeArgList? ArgList
|
||||
Attr* Expr '.' NameRef GenericArgList? ArgList
|
||||
|
||||
FieldExpr =
|
||||
Attr* Expr '.' NameRef
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue