mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
this needs the type for some reason
This commit is contained in:
parent
3e2763a215
commit
ad855fe6db
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user