From c2ad8d2551da3cb6ee8fe656fe65cbd696ec0e2d Mon Sep 17 00:00:00 2001
From: reez12g <reez12g@gmail.com>
Date: Fri, 16 Sep 2022 16:11:54 +0900
Subject: [PATCH] Mark ignore on error code docs in
 compiler/rustc_borrowck/src/diagnostics/region_errors.rs

---
 compiler/rustc_borrowck/src/diagnostics/region_errors.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/rustc_borrowck/src/diagnostics/region_errors.rs b/compiler/rustc_borrowck/src/diagnostics/region_errors.rs
index 43d67bfa729..a4dfc945e33 100644
--- a/compiler/rustc_borrowck/src/diagnostics/region_errors.rs
+++ b/compiler/rustc_borrowck/src/diagnostics/region_errors.rs
@@ -341,7 +341,7 @@ impl<'a, 'tcx> MirBorrowckCtxt<'a, 'tcx> {
     /// Report an error because the universal region `fr` was required to outlive
     /// `outlived_fr` but it is not known to do so. For example:
     ///
-    /// ```compile_fail,E0312
+    /// ```ignore(compile_fail,E0312)
     /// fn foo<'a, 'b>(x: &'a u32) -> &'b u32 { x }
     /// ```
     ///