diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-06-22 01:42:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-22 01:42:38 +0200 |
| commit | dc0ef823be3c676e4caa99f53e37413a1b2209ec (patch) | |
| tree | 473d53aceab6efe4b9554824e7695197e3f96599 /src/librustc_codegen_ssa | |
| parent | 9eb88f3b821ec5ca276e2f5d5c4f41dc3e9f0e87 (diff) | |
| parent | 0a511cce79c41eeddbdc0623581e61872f97793c (diff) | |
| download | rust-dc0ef823be3c676e4caa99f53e37413a1b2209ec.tar.gz rust-dc0ef823be3c676e4caa99f53e37413a1b2209ec.zip | |
Rollup merge of #61984 - ljedrz:more_node_id_pruning, r=Zoxc
More NodeId pruning Just another round of the `HirId`ification initiative. r? @Zoxc
Diffstat (limited to 'src/librustc_codegen_ssa')
| -rw-r--r-- | src/librustc_codegen_ssa/back/symbol_export.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_ssa/back/symbol_export.rs b/src/librustc_codegen_ssa/back/symbol_export.rs index aeff73c7e52..b9ee82f108a 100644 --- a/src/librustc_codegen_ssa/back/symbol_export.rs +++ b/src/librustc_codegen_ssa/back/symbol_export.rs @@ -82,7 +82,7 @@ fn reachable_non_generics_provider<'tcx>( // // As a result, if this id is an FFI item (foreign item) then we only // let it through if it's included statically. - match tcx.hir().get_by_hir_id(hir_id) { + match tcx.hir().get(hir_id) { Node::ForeignItem(..) => { let def_id = tcx.hir().local_def_id_from_hir_id(hir_id); if tcx.is_statically_included_foreign_item(def_id) { |
