plugins.rust-tools.server.assist.emitMustUse

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

default:

false

Type: null or boolean

Default: null

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.
"todo"

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

Default: null

Declared by: