mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Reame PlaceholderType -> InferType
This commit is contained in:
parent
08ea2271e8
commit
a6e45c6c69
10 changed files with 28 additions and 28 deletions
|
@ -117,7 +117,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc {
|
|||
"ARRAY_TYPE",
|
||||
"SLICE_TYPE",
|
||||
"REFERENCE_TYPE",
|
||||
"PLACEHOLDER_TYPE",
|
||||
"INFER_TYPE",
|
||||
"FN_POINTER_TYPE",
|
||||
"FOR_TYPE",
|
||||
"IMPL_TRAIT_TYPE",
|
||||
|
|
|
@ -197,7 +197,7 @@ Type =
|
|||
| ArrayType
|
||||
| SliceType
|
||||
| ReferenceType
|
||||
| PlaceholderType
|
||||
| InferType
|
||||
| FnPointerType
|
||||
| ForType
|
||||
| ImplTraitType
|
||||
|
@ -206,28 +206,28 @@ Type =
|
|||
ParenType =
|
||||
'(' Type ')'
|
||||
|
||||
TupleType =
|
||||
'(' fields:Type* ')'
|
||||
|
||||
NeverType =
|
||||
'!'
|
||||
|
||||
PathType =
|
||||
Path
|
||||
|
||||
TupleType =
|
||||
'(' fields:(Type (',' Type)* ','?)? ')'
|
||||
|
||||
PointerType =
|
||||
'*' ('const' | 'mut') Type
|
||||
|
||||
ReferenceType =
|
||||
'&' 'lifetime'? 'mut'? Type
|
||||
|
||||
ArrayType =
|
||||
'[' Type ';' Expr ']'
|
||||
|
||||
SliceType =
|
||||
'[' Type ']'
|
||||
|
||||
ReferenceType =
|
||||
'&' 'lifetime'? 'mut'? Type
|
||||
|
||||
PlaceholderType =
|
||||
InferType =
|
||||
'_'
|
||||
|
||||
FnPointerType =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue