Merge pull request #1150 from birkenfeld/remove-warning

Remove "known problem" that only occurs without MIR.
This commit is contained in:
Manish Goregaokar 2016-08-08 17:19:59 +05:30 committed by GitHub
commit ac5abcf593

View File

@ -10,10 +10,7 @@
/// **Why is this bad?** Removing the `return` and semicolon will make the code /// **Why is this bad?** Removing the `return` and semicolon will make the code
/// more rusty. /// more rusty.
/// ///
/// **Known problems:** Following this lint's advice may currently run afoul of /// **Known problems:** None.
/// Rust issue [#31439](https://github.com/rust-lang/rust/issues/31439), so if
/// you get lifetime errors, please roll back the change until that issue is
/// fixed.
/// ///
/// **Example:** /// **Example:**
/// ```rust /// ```rust
@ -30,10 +27,7 @@
/// **Why is this bad?** It is just extraneous code. Remove it to make your code /// **Why is this bad?** It is just extraneous code. Remove it to make your code
/// more rusty. /// more rusty.
/// ///
/// **Known problems:** Following this lint's advice may currently run afoul of /// **Known problems:** None.
/// Rust issue [#31439](https://github.com/rust-lang/rust/issues/31439), so if
/// you get lifetime errors, please roll back the change until that issue is
/// fixed.
/// ///
/// **Example:** /// **Example:**
/// ```rust /// ```rust