File tree 3 files changed +4
-4
lines changed 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ config_data! {
259
259
/// Whether to show inlay type hints for compiler inserted reborrows.
260
260
inlayHints_reborrowHints: bool = "false" ,
261
261
/// Whether to show inlay type hints for elided lifetimes in function signatures.
262
- inlayHints_lifetimeElisionHints : LifetimeElisionDef = "\" never\" " ,
262
+ inlayHints_lifetimeElisionHints_enable : LifetimeElisionDef = "\" never\" " ,
263
263
/// Whether to prefer using parameter names as the name for elided lifetime hints if possible.
264
264
inlayHints_lifetimeElisionHints_useParameterNames: bool = "false" ,
265
265
/// Whether to hide inlay hints for constructors.
@@ -862,7 +862,7 @@ impl Config {
862
862
parameter_hints : self . data . inlayHints_parameterHints ,
863
863
chaining_hints : self . data . inlayHints_chainingHints ,
864
864
closure_return_type_hints : self . data . inlayHints_closureReturnTypeHints ,
865
- lifetime_elision_hints : match self . data . inlayHints_lifetimeElisionHints {
865
+ lifetime_elision_hints : match self . data . inlayHints_lifetimeElisionHints_enable {
866
866
LifetimeElisionDef :: Always => LifetimeElisionHints :: Always ,
867
867
LifetimeElisionDef :: Never => LifetimeElisionHints :: Never ,
868
868
LifetimeElisionDef :: SkipTrivial => LifetimeElisionHints :: SkipTrivial ,
Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ Whether to show inlay type hints for return types of closures with blocks.
383
383
--
384
384
Whether to show inlay type hints for compiler inserted reborrows.
385
385
--
386
- [[rust-analyzer.inlayHints.lifetimeElisionHints]]rust-analyzer.inlayHints.lifetimeElisionHints (default: `"never"` )::
386
+ [[rust-analyzer.inlayHints.lifetimeElisionHints.enable ]]rust-analyzer.inlayHints.lifetimeElisionHints.enable (default: `"never"` )::
387
387
+
388
388
--
389
389
Whether to show inlay type hints for elided lifetimes in function signatures.
Original file line number Diff line number Diff line change 800
800
"default" : false ,
801
801
"type" : " boolean"
802
802
},
803
- "rust-analyzer.inlayHints.lifetimeElisionHints" : {
803
+ "rust-analyzer.inlayHints.lifetimeElisionHints.enable " : {
804
804
"markdownDescription" : " Whether to show inlay type hints for elided lifetimes in function signatures." ,
805
805
"default" : " never" ,
806
806
"type" : " string" ,
You can’t perform that action at this time.
0 commit comments