diff options
| author | bors <bors@rust-lang.org> | 2021-01-24 06:51:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-01-24 06:51:17 +0000 |
| commit | 85e355ea9bd86ac6580a5d422a65dbf689845808 (patch) | |
| tree | 2c849754899ea52c67b42163e413cfcaf3050426 /compiler/rustc_passes/src | |
| parent | 446cbc9db080c63c8742c418bcaa44c808f7e033 (diff) | |
| parent | 97ee7c7e5ab5b70453920e105530dd8a2a4391d9 (diff) | |
| download | rust-85e355ea9bd86ac6580a5d422a65dbf689845808.tar.gz rust-85e355ea9bd86ac6580a5d422a65dbf689845808.zip | |
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.
Diffstat (limited to 'compiler/rustc_passes/src')
| -rw-r--r-- | compiler/rustc_passes/src/reachable.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_passes/src/reachable.rs b/compiler/rustc_passes/src/reachable.rs index b237671f8e2..eb24c51c54c 100644 --- a/compiler/rustc_passes/src/reachable.rs +++ b/compiler/rustc_passes/src/reachable.rs @@ -307,6 +307,7 @@ impl<'tcx> ReachableContext<'tcx> { | Node::Ctor(..) | Node::Field(_) | Node::Ty(_) + | Node::Crate(_) | Node::MacroDef(_) => {} _ => { bug!( |
