Remove shadow allows

This commit is contained in:
Cameron Steffen 2021-09-27 17:19:33 -05:00
parent 8c0e4d5ccf
commit a17359c696
15 changed files with 95 additions and 141 deletions

View file

@ -510,7 +510,6 @@ pub fn path_to_local_id(expr: &Expr<'_>, id: HirId) -> bool {
}
/// Gets the definition associated to a path.
#[allow(clippy::shadow_unrelated)] // false positive #6563
pub fn path_to_res(cx: &LateContext<'_>, path: &[&str]) -> Res {
macro_rules! try_res {
($e:expr) => {