85e355ea9b
Generate metadata by iterating on DefId instead of traversing the HIR tree 1/N Sample from #80347.
For more information about how rustc works, see the rustc dev guide.