X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_borrowck%2Fsrc%2Fnll.rs;h=c71413e8e7c04f96c548b12d354528127a315bf5;hb=af5a37e8440c503b5bb89ec94199f036d772b9e8;hp=b2d92d0dba7a4de1cb38292dc7e9cb545f880d86;hpb=4e5cfabd08aa906248aedea3ac61c0eb2a7cc727;p=rust.git diff --git a/compiler/rustc_borrowck/src/nll.rs b/compiler/rustc_borrowck/src/nll.rs index b2d92d0dba7..c71413e8e7c 100644 --- a/compiler/rustc_borrowck/src/nll.rs +++ b/compiler/rustc_borrowck/src/nll.rs @@ -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>,