about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
diff options
context:
space:
mode:
authorreez12g <reez12g@gmail.com>2022-10-02 11:00:43 +0900
committerreez12g <reez12g@gmail.com>2022-10-02 11:00:43 +0900
commitebcec301829e64cc0e29b2a0f1daf79ecbd73bcd (patch)
tree6c9512e4f668bafd6a3d8a40c1855b58700754ce /compiler/rustc_borrowck/src/diagnostics
parente89fbc5872acbf3b003f02242b3889d815bd6de8 (diff)
downloadrust-ebcec301829e64cc0e29b2a0f1daf79ecbd73bcd.tar.gz
rust-ebcec301829e64cc0e29b2a0f1daf79ecbd73bcd.zip
Remove 'E0312' from 'compile_fail,E0312' statement temporarily
Diffstat (limited to 'compiler/rustc_borrowck/src/diagnostics')
-rw-r--r--compiler/rustc_borrowck/src/diagnostics/region_errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_borrowck/src/diagnostics/region_errors.rs b/compiler/rustc_borrowck/src/diagnostics/region_errors.rs
index a4dfc945e33..038cae9a3ed 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:
     ///
-    /// ```ignore(compile_fail,E0312)
+    /// ```compile_fail
     /// fn foo<'a, 'b>(x: &'a u32) -> &'b u32 { x }
     /// ```
     ///