mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Use proper inlay kinds
This commit is contained in:
parent
2c02aebeb5
commit
15411d4474
3 changed files with 15 additions and 43 deletions
|
@ -213,12 +213,7 @@ pub struct InlayHintsParams {
|
|||
|
||||
#[derive(Debug, PartialEq, Eq, Deserialize, Serialize)]
|
||||
pub enum InlayKind {
|
||||
LetBindingType,
|
||||
ClosureParameterType,
|
||||
ForExpressionBindingType,
|
||||
IfExpressionType,
|
||||
WhileLetExpressionType,
|
||||
MatchArmType,
|
||||
TypeHint,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue