diff options
| author | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2021-01-30 22:39:52 +0300 |
|---|---|---|
| committer | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2021-01-30 22:39:56 +0300 |
| commit | 8b5187f7ea5863908a459fd92c77096ab1bc4538 (patch) | |
| tree | e218e4eef282fd0c5a85e802f38fc0abc934a5a6 | |
| parent | 7ce1b3b24491cbe10669cbe2b5733c2fe7cfe5b7 (diff) | |
| download | rust-8b5187f7ea5863908a459fd92c77096ab1bc4538.tar.gz rust-8b5187f7ea5863908a459fd92c77096ab1bc4538.zip | |
Fix an old FIXME in redundant paren lint
Referenced bug was fixed a while ago
| -rw-r--r-- | compiler/rustc_lint/src/unused.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_lint/src/unused.rs b/compiler/rustc_lint/src/unused.rs index c1a3eecbbc7..b611aebad01 100644 --- a/compiler/rustc_lint/src/unused.rs +++ b/compiler/rustc_lint/src/unused.rs @@ -977,8 +977,6 @@ impl UnusedDelimLint for UnusedBraces { } } ast::ExprKind::Let(_, ref expr) => { - // FIXME(#60336): Properly handle `let true = (false && true)` - // actually needing the parenthesis. self.check_unused_delims_expr( cx, expr, |
