Adapt codebase to the tool_lints

This commit is contained in:
flip1995
2018-08-01 22:48:41 +02:00
committed by Manish Goregaokar
parent cfd4c538d4
commit f3bb161f0e
25 changed files with 39 additions and 38 deletions

View File

@@ -364,7 +364,7 @@ impl<'a, 'tcx: 'a> SpanlessHash<'a, 'tcx> {
}.hash(&mut self.s);
}
#[allow(many_single_char_names)]
#[allow(clippy::many_single_char_names)]
pub fn hash_expr(&mut self, e: &Expr) {
if let Some(e) = constant_simple(self.cx, self.tables, e) {
return e.hash(&mut self.s);