You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/ide/src/inlay_hints.rs
+70-13
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ pub struct InlayHintsConfig {
19
19
pubtype_hints:bool,
20
20
pubparameter_hints:bool,
21
21
pubchaining_hints:bool,
22
+
pubreborrow_hints:bool,
22
23
pubclosure_return_type_hints:bool,
23
24
publifetime_elision_hints:LifetimeElisionHints,
24
25
pubparam_names_for_lifetime_elision_hints:bool,
@@ -35,6 +36,7 @@ pub enum LifetimeElisionHints {
35
36
36
37
#[derive(Clone,Debug,PartialEq,Eq)]
37
38
pubenumInlayKind{
39
+
ImplicitReborrow,
38
40
TypeHint,
39
41
ParameterHint,
40
42
ClosureReturnTypeHint,
@@ -65,10 +67,7 @@ pub struct InlayHint {
65
67
//
66
68
// * return types of closure expressions with blocks
67
69
// * elided lifetimes
68
-
//
69
-
// **Note:** VS Code does not have native support for inlay hints https://github.com/microsoft/vscode/issues/16221[yet] and the hints are implemented using decorations.
70
-
// This approach has limitations, the caret movement and bracket highlighting near the edges of the hint may be weird:
0 commit comments