mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
fix: add an option to show inlay hint for return type of closures without block
This commit is contained in:
parent
6c9fc4fec2
commit
55509548e8
6 changed files with 84 additions and 16 deletions
|
@ -109,7 +109,7 @@ impl StaticIndex<'_> {
|
|||
type_hints: true,
|
||||
parameter_hints: true,
|
||||
chaining_hints: true,
|
||||
closure_return_type_hints: true,
|
||||
closure_return_type_hints: crate::ClosureReturnTypeHints::WithBlock,
|
||||
lifetime_elision_hints: crate::LifetimeElisionHints::Never,
|
||||
reborrow_hints: crate::ReborrowHints::Never,
|
||||
hide_named_constructor_hints: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue