From fc4f8d9bc24ef3e3e3be6c22cbcab85adf21cf2d Mon Sep 17 00:00:00 2001 From: David Wood Date: Tue, 28 Jun 2022 10:28:57 +0100 Subject: lint: port unused delimiter diagnostics Signed-off-by: David Wood --- compiler/rustc_error_messages/locales/en-US/lint.ftl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'compiler/rustc_error_messages') diff --git a/compiler/rustc_error_messages/locales/en-US/lint.ftl b/compiler/rustc_error_messages/locales/en-US/lint.ftl index e14912630dd..00ac64031ca 100644 --- a/compiler/rustc_error_messages/locales/en-US/lint.ftl +++ b/compiler/rustc_error_messages/locales/en-US/lint.ftl @@ -278,3 +278,6 @@ lint-path-statement-drop = path statement drops value .suggestion = use `drop` to clarify the intent lint-path-statement-no-effect = path statement with no effect + +lint-unused-delim = unnecessary {$delim} around {$item} + .suggestion = remove these {$delim} -- cgit 1.4.1-3-g733a5