Fix similar_names warnings

Most of these are just `#![allow]`ed, because they are things like using
l vs r to differentiate left vs right. These would be made less clear by
taking the advice of `similar_names`
This commit is contained in:
Devon Hollowood
2018-10-11 15:18:58 -07:00
parent 9d3373137b
commit 9afd8abbe3
9 changed files with 17 additions and 6 deletions

View File

@@ -54,6 +54,7 @@ struct MutVarsDelegate {
}
impl<'tcx> MutVarsDelegate {
#[allow(clippy::similar_names)]
fn update(&mut self, cat: &'tcx Categorization<'_>) {
match *cat {
Categorization::Local(id) => {