Downgrade many_single_char_names to pedantic

This commit is contained in:
David Tolnay
2021-09-14 09:48:30 -07:00
parent 746a0051c3
commit c2783c1dcb
40 changed files with 124 additions and 139 deletions

View File

@@ -540,7 +540,7 @@ impl<'a, 'tcx> SpanlessHash<'a, 'tcx> {
std::mem::discriminant(&b.rules).hash(&mut self.s);
}
#[allow(clippy::many_single_char_names, clippy::too_many_lines)]
#[allow(clippy::too_many_lines)]
pub fn hash_expr(&mut self, e: &Expr<'_>) {
let simple_const = self
.maybe_typeck_results