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

Whether to show enum variant discriminant hints.

Values:

  • always: Always show all discriminant hints.
  • never: Never show discriminant hints.
  • fieldless: Only show discriminant hints on fieldless enum variants.
"never"

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

Default: null

Declared by: