plugins.rustaceanvim.settings.server.default_settings.rust-analyzer.assist.emitMustUse

Whether to insert #[must_use] when generating as_ methods for enum variants.

Type: null or boolean

Default: null

Plugin default: false

plugins.rustaceanvim.settings.server.default_settings.rust-analyzer.assist.expressionFillDefault

Placeholder expression to use for missing expressions in assists.

Values:

  • todo: Fill missing expressions with the todo macro
  • default: Fill missing expressions with reasonable defaults, new or default constructors.

Type: null or one of “todo”, “default”

Default: null

Plugin default: "todo"