]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_lint/src/redundant_semicolon.rs
Rollup merge of #104193 - TaKO8Ki:fix-104142, r=cjgillot
[rust.git] / compiler / rustc_lint / src / redundant_semicolon.rs
index 46c84550e9f5f758b5be45d31fa13044b6b9d35f..3521de7fc08483dcfb48de8d44764b1ad4481dfa 100644 (file)
@@ -51,11 +51,11 @@ fn maybe_lint_redundant_semis(cx: &EarlyContext<'_>, seq: &mut Option<(Span, boo
         cx.struct_span_lint(
             REDUNDANT_SEMICOLONS,
             span,
-            fluent::lint::redundant_semicolons,
+            fluent::lint_redundant_semicolons,
             |lint| {
                 lint.set_arg("multiple", multiple).span_suggestion(
                     span,
-                    fluent::lint::suggestion,
+                    fluent::suggestion,
                     "",
                     Applicability::MaybeIncorrect,
                 )