]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_borrowck/src/nll.rs
session: diagnostic migration lint on more fns
[rust.git] / compiler / rustc_borrowck / src / nll.rs
index e379e6470623759eabab4567b6d8de519713ba92..c71413e8e7c04f96c548b12d354528127a315bf5 100644 (file)
@@ -369,6 +369,8 @@ pub(super) fn dump_mir_results<'tcx>(
     };
 }
 
+#[allow(rustc::diagnostic_outside_of_impl)]
+#[allow(rustc::untranslatable_diagnostic)]
 pub(super) fn dump_annotation<'tcx>(
     infcx: &InferCtxt<'tcx>,
     body: &Body<'tcx>,
@@ -385,7 +387,7 @@ pub(super) fn dump_annotation<'tcx>(
 
     // When the enclosing function is tagged with `#[rustc_regions]`,
     // we dump out various bits of state as warnings. This is useful
-    // for verifying that the compiler is behaving as expected.  These
+    // for verifying that the compiler is behaving as expected. These
     // warnings focus on the closure region requirements -- for
     // viewing the intraprocedural state, the -Zdump-mir output is
     // better.