diff options
| author | David Wood <david.wood@huawei.com> | 2022-06-28 11:27:26 +0100 |
|---|---|---|
| committer | David Wood <david.wood@huawei.com> | 2022-06-30 08:59:22 +0100 |
| commit | 284ec37810f7d93cee6fd0a177220fc55afb7755 (patch) | |
| tree | cd2b6dde28d3138e8be61242c70e0ce79e85b9ee /compiler/rustc_error_messages | |
| parent | 28655bc95537efa467dde736b9c1ded59b95b564 (diff) | |
| download | rust-284ec37810f7d93cee6fd0a177220fc55afb7755.tar.gz rust-284ec37810f7d93cee6fd0a177220fc55afb7755.zip | |
lint: port missing debug impl diagnostics
Signed-off-by: David Wood <david.wood@huawei.com>
Diffstat (limited to 'compiler/rustc_error_messages')
| -rw-r--r-- | compiler/rustc_error_messages/locales/en-US/lint.ftl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_error_messages/locales/en-US/lint.ftl b/compiler/rustc_error_messages/locales/en-US/lint.ftl index 7375e4fcadb..fd1d1a8dc2f 100644 --- a/compiler/rustc_error_messages/locales/en-US/lint.ftl +++ b/compiler/rustc_error_messages/locales/en-US/lint.ftl @@ -328,3 +328,6 @@ lint-builtin-impl-unsafe-method = implementation of an `unsafe` method lint-builtin-missing-doc = missing documentation for {$article} {$desc} lint-builtin-missing-copy-impl = type could implement `Copy`; consider adding `impl Copy` + +lint-builtin-missing-debug-impl = + type does not implement `{$debug}`; consider adding `#[derive(Debug)]` or a manual implementation |
