Remove "known problem" that only occurs without MIR.

Since clippy needs nightly, and nightly is MIR-by-default, we can
get rid of the warning.
This commit is contained in:
Georg Brandl 2016-08-08 13:37:39 +02:00
parent c4dad550f7
commit d1403d2d7c

View File

@ -10,10 +10,7 @@ use utils::{span_note_and_lint, span_lint_and_then, snippet_opt, match_path_ast,
/// **Why is this bad?** Removing the `return` and semicolon will make the code
/// more rusty.
///
/// **Known problems:** Following this lint's advice may currently run afoul of
/// 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.
/// **Known problems:** None.
///
/// **Example:**
/// ```rust
@ -30,10 +27,7 @@ declare_lint! {
/// **Why is this bad?** It is just extraneous code. Remove it to make your code
/// more rusty.
///
/// **Known problems:** Following this lint's advice may currently run afoul of
/// 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.
/// **Known problems:** None.
///
/// **Example:**
/// ```rust