this needs the type for some reason

This commit is contained in:
Rémy Rakic 2024-08-24 20:39:04 +00:00
parent 3e2763a215
commit ad855fe6db

View File

@ -237,7 +237,7 @@ pub fn supertrait_def_ids<I: Interner>(
cx: I,
trait_def_id: I::DefId,
) -> impl Iterator<Item = I::DefId> {
let mut set = HashSet::default();
let mut set: HashSet<I::DefId> = HashSet::default();
let mut stack = vec![trait_def_id];
set.insert(trait_def_id);