plugins.rust-tools.server.assist.emitMustUse

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

Type: null or boolean

Default: null

Plugin default: false

Declared by:

plugins.rust-tools.server.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"

Declared by: