diff options
| author | Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> | 2022-01-07 14:13:34 +0100 |
|---|---|---|
| committer | Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> | 2022-01-07 14:13:34 +0100 |
| commit | b60a29ca9428e95c995f12ab8eff6160957188fe (patch) | |
| tree | 4277f771073f55c945196b93229528d4cf61158f /editors/code | |
| parent | 0a4239a8153a17dda816678dfd870e1e5d10a101 (diff) | |
| download | rust-b60a29ca9428e95c995f12ab8eff6160957188fe.tar.gz rust-b60a29ca9428e95c995f12ab8eff6160957188fe.zip | |
feat(diagnostics): use default expression instead of todo! when missing fields
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
Diffstat (limited to 'editors/code')
| -rw-r--r-- | editors/code/package.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 6bc62fc9d7f..c81fd0b3d2d 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -384,11 +384,11 @@ "type": "string", "enum": [ "todo", - "defaultImpl" + "default" ], "enumDescriptions": [ - "Fill missing elements with 'todo' macro", - "Fill missing elements with T::default()" + "Fill missing expressions with the 'todo' macro", + "Fill missing expressions with reasonable defaults, `new` or `default` constructors." ] }, "rust-analyzer.assist.importGranularity": { |
