plugins.lsp.servers.rust_analyzer.settings.assist.emitMustUse
Insert #[must_use] when generating as_ methods for enum variants.
Type: null or boolean
Default:
null
Plugin default: false
Declared by:
plugins.lsp.servers.rust_analyzer.settings.assist.expressionFillDefault
Placeholder expression to use for missing expressions in assists.
Values:
- todo: Fill missing expressions with the
todomacro - default: Fill missing expressions with reasonable defaults,
newordefaultconstructors.
Type: null or one of “todo”, “default”
Default:
null
Plugin default: "todo"
Declared by:
plugins.lsp.servers.rust_analyzer.settings.assist.preferSelf
Prefer to use Self over the type name when inserting a type (e.g. in “fill match arms” assist).
Type: null or boolean
Default:
null
Plugin default: false
Declared by: