plugins.lsp.servers.rust-analyzer.settings.inlayHints.lifetimeElisionHints.enable

Whether to show inlay type hints for elided lifetimes in function signatures.

Values:

  • always: Always show lifetime elision hints.
  • never: Never show lifetime elision hints.
  • skip_trivial: Only show lifetime elision hints if a return type is involved.
"never"

Type: null or one of “always”, “never”, “skip_trivial”

Default: null

Declared by:

plugins.lsp.servers.rust-analyzer.settings.inlayHints.lifetimeElisionHints.useParameterNames

Whether to prefer using parameter names as the name for elided lifetime hints if possible.

default:

false

Type: null or boolean

Default: null

Declared by: