collect blocks from unnamed consts too

This commit is contained in:
Jake Heinz 2021-11-29 01:11:31 +00:00
parent 8850ea0b4f
commit 8fa1d9bb47

View File

@ -579,6 +579,10 @@ fn collect_symbols_from_item_scope(
});
symbols.extend(symbols_iter);
for const_id in scope.unnamed_consts() {
bodies_to_traverse.push(const_id.into())
}
};
let mut bodies_to_traverse = Vec::new();