1
Fork 0

Auto merge of #80919 - cjgillot:defkey-span, r=oli-obk

Generate metadata by iterating on DefId instead of traversing the HIR tree 1/N

Sample from #80347.
This commit is contained in:
bors 2021-01-24 06:51:17 +00:00
commit 85e355ea9b
12 changed files with 304 additions and 264 deletions

View file

@ -307,6 +307,7 @@ impl<'tcx> ReachableContext<'tcx> {
| Node::Ctor(..)
| Node::Field(_)
| Node::Ty(_)
| Node::Crate(_)
| Node::MacroDef(_) => {}
_ => {
bug!(