Mark ignore on error code docs in compiler/rustc_borrowck/src/diagnostics/region_errors.rs
This commit is contained in:
parent
a1999b76aa
commit
c2ad8d2551
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue