use new name for clippy error

This commit is contained in:
Anton-4 2023-01-17 18:19:17 +01:00
parent bbf35af8fa
commit 35b93f0d1e
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937

View file

@ -3607,7 +3607,7 @@ pub fn rec_defs_help_simple(
_ => true, // this must be a function
});
// TODO(weakening)
#[allow(clippy::logic_bug)]
#[allow(clippy::overly_complex_bool_expr)]
Generalizable(generalizable || true)
};
@ -3899,7 +3899,7 @@ fn rec_defs_help(
.iter()
.all(|d| is_generalizable_expr(&d.loc_expr.value));
// TODO(weakening)
#[allow(clippy::logic_bug)]
#[allow(clippy::overly_complex_bool_expr)]
Generalizable(generalizable || true)
};