mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Improve inlay hinting for types
Add hints for types in for loop expressions. Resolve types for every tuple parameter. Refactor the code.
This commit is contained in:
parent
4647e89def
commit
5169a9d498
3 changed files with 130 additions and 66 deletions
|
@ -215,6 +215,7 @@ pub struct InlayHintsParams {
|
|||
pub enum InlayKind {
|
||||
LetBindingType,
|
||||
ClosureParameterType,
|
||||
ForExpressionBindingType,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue