Mark ignore on error code docs in compiler/rustc_borrowck/src/diagnostics/region_errors.rs

This commit is contained in:
reez12g 2022-09-16 16:11:54 +09:00
parent a1999b76aa
commit c2ad8d2551

View File

@ -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 }
/// ```
///