about summary refs log tree commit diff
path: root/src/librustc_codegen_ssa
diff options
context:
space:
mode:
authorljedrz <ljedrz@gmail.com>2019-06-20 10:39:19 +0200
committerljedrz <ljedrz@gmail.com>2019-06-20 12:50:06 +0200
commit73cb9ab5261813309b41e21cacfc44d2b61fe396 (patch)
treeeb91efa442853ee82e3c0676e745c970a1a4a417 /src/librustc_codegen_ssa
parenta64456e48e782137d9c4a7ac407a047bc765db81 (diff)
downloadrust-73cb9ab5261813309b41e21cacfc44d2b61fe396.tar.gz
rust-73cb9ab5261813309b41e21cacfc44d2b61fe396.zip
rename hir::map::get_by_hir_id to get
Diffstat (limited to 'src/librustc_codegen_ssa')
-rw-r--r--src/librustc_codegen_ssa/back/symbol_export.rs2
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) {