Skip to content

Commit

Permalink
this needs the type for some reason
Browse files Browse the repository at this point in the history
  • Loading branch information
lqd committed Aug 24, 2024
1 parent 3e2763a commit ad855fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_type_ir/src/elaborate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ad855fe

Please sign in to comment.