Fix tools

This commit is contained in:
Michael Goulet 2024-09-24 10:11:23 -04:00
parent 249210e8d8
commit f8969853eb
6 changed files with 5 additions and 14 deletions

View file

@ -78,7 +78,6 @@ pub(super) fn check<'tcx>(
cx.tcx
.inherent_impls(adt_def.did())
.into_iter()
.flatten()
.flat_map(|impl_id| cx.tcx.associated_items(impl_id).filter_by_name_unhygienic(sugg))
.find_map(|assoc| {
if assoc.fn_has_self_parameter