]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_lint/src/expect.rs
Rollup merge of #104775 - spastorino:use-obligation-ctxt-normalize, r=lcnr
[rust.git] / compiler / rustc_lint / src / expect.rs
index 4c3c39734dd6fcb9f7a039b56c64bc86237c0eaa..cf8f31bcbd0650780b9374bed416b0cb9c9f95ce 100644 (file)
@@ -45,14 +45,14 @@ fn emit_unfulfilled_expectation_lint(
         builtin::UNFULFILLED_LINT_EXPECTATIONS,
         hir_id,
         expectation.emission_span,
-        fluent::lint::expectation,
+        fluent::lint_expectation,
         |lint| {
             if let Some(rationale) = expectation.reason {
                 lint.note(rationale.as_str());
             }
 
             if expectation.is_unfulfilled_lint_expectations {
-                lint.note(fluent::lint::note);
+                lint.note(fluent::note);
             }
 
             lint