Support destructuring patterns
This commit is contained in:
@@ -900,6 +900,9 @@ pub fn handle_inlay_hints(
|
||||
ra_ide_api::InlayKind::ForExpressionBindingType => {
|
||||
InlayKind::ForExpressionBindingType
|
||||
}
|
||||
ra_ide_api::InlayKind::IfExpressionType => InlayKind::IfExpressionType,
|
||||
ra_ide_api::InlayKind::WhileLetExpressionType => InlayKind::WhileLetExpressionType,
|
||||
ra_ide_api::InlayKind::MatchArmType => InlayKind::MatchArmType,
|
||||
},
|
||||
})
|
||||
.collect())
|
||||
|
||||
@@ -216,6 +216,9 @@ pub enum InlayKind {
|
||||
LetBindingType,
|
||||
ClosureParameterType,
|
||||
ForExpressionBindingType,
|
||||
IfExpressionType,
|
||||
WhileLetExpressionType,
|
||||
MatchArmType,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
|
||||
Reference in New Issue
Block a user