diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-01-18 19:15:53 +0100 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-01-23 13:58:09 +0100 |
| commit | 97ee7c7e5ab5b70453920e105530dd8a2a4391d9 (patch) | |
| tree | f6fa690d5f99f3c5e70fce3df6b4e5211c0f2738 /compiler/rustc_passes/src | |
| parent | 89360931f23a512d76559a796cdbd74b6681c46e (diff) | |
| download | rust-97ee7c7e5ab5b70453920e105530dd8a2a4391d9.tar.gz rust-97ee7c7e5ab5b70453920e105530dd8a2a4391d9.zip | |
Allow to query the HIR crate node.
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!( |
