mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Auto merge of #14742 - Veykril:closure-capture-inlays, r=Veykril
feat: Closure capture inlay hints I opted for a fictional `move(foo, &bar, &mut qux)` syntax here, disabled by default as these are not correct rust syntax and hence could cause confusion. 
This commit is contained in:
commit
d3ce333ec8
11 changed files with 278 additions and 37 deletions
|
@ -122,6 +122,7 @@ impl StaticIndex<'_> {
|
|||
param_names_for_lifetime_elision_hints: false,
|
||||
binding_mode_hints: false,
|
||||
max_length: Some(25),
|
||||
closure_capture_hints: false,
|
||||
closing_brace_hints_min_lines: Some(25),
|
||||
},
|
||||
file_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue