mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Support destructuring patterns
This commit is contained in:
parent
de278d1649
commit
b8f95f42e1
3 changed files with 314 additions and 50 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue