feat: Visualize compiler inserted reborrows via inlay hints

This commit is contained in:
Lukas Wirth 2022-03-20 14:38:16 +01:00
parent 2598575a35
commit 37b48ceb8f
9 changed files with 126 additions and 13 deletions

View file

@ -114,6 +114,7 @@ impl StaticIndex<'_> {
chaining_hints: true,
closure_return_type_hints: true,
lifetime_elision_hints: LifetimeElisionHints::Never,
reborrow_hints: false,
hide_named_constructor_hints: false,
param_names_for_lifetime_elision_hints: false,
max_length: Some(25),