Mark ignore on error code docs in compiler/rustc_borrowck/src/diagnostics/region_errors.rs
This commit is contained in:
parent
a1999b76aa
commit
c2ad8d2551
@ -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 }
|
||||
/// ```
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user