feat: hide type inlay hints for initializations of closures

This commit is contained in:
andylizi 2022-05-15 19:17:52 +08:00
parent 44be090f2e
commit 2b1c1a934c
No known key found for this signature in database
GPG key ID: BFBFA8C85929F0E8
5 changed files with 90 additions and 5 deletions

View file

@ -113,6 +113,7 @@ impl StaticIndex<'_> {
lifetime_elision_hints: crate::LifetimeElisionHints::Never,
reborrow_hints: crate::ReborrowHints::Never,
hide_named_constructor_hints: false,
hide_closure_initialization_hints: false,
param_names_for_lifetime_elision_hints: false,
binding_mode_hints: false,
max_length: Some(25),