Use UnordSet instead of FxHashSet in define_id_collections!().

This commit is contained in:
Michael Woerister 2022-12-02 16:27:25 +01:00
parent 2bfba8685d
commit 31a053059e

View file

@ -219,7 +219,7 @@ fn check_trait_items(cx: &LateContext<'_>, visited_trait: &Item<'_>, trait_items
let is_empty = sym!(is_empty);
let is_empty_method_found = current_and_super_traits
.iter()
.items()
.flat_map(|&i| cx.tcx.associated_items(i).filter_by_name_unhygienic(is_empty))
.any(|i| {
i.kind == ty::AssocKind::Fn