about summary refs log tree commit diff
path: root/compiler/rustc_resolve
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-02-14 15:44:01 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-03-05 05:52:00 +0000
commit5a0c46a22c8264203bb37c5cb27d25810a412283 (patch)
tree51f43b9bc1136b768db62d359e54975469931983 /compiler/rustc_resolve
parent30f2ec2895430d87d6e3a34ea290a9d344472452 (diff)
downloadrust-5a0c46a22c8264203bb37c5cb27d25810a412283.tar.gz
rust-5a0c46a22c8264203bb37c5cb27d25810a412283.zip
Get rid of `feed_local_def_id`
Diffstat (limited to 'compiler/rustc_resolve')
-rw-r--r--compiler/rustc_resolve/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/lib.rs b/compiler/rustc_resolve/src/lib.rs
index b8ea110d1c0..25f17e67f46 100644
--- a/compiler/rustc_resolve/src/lib.rs
+++ b/compiler/rustc_resolve/src/lib.rs
@@ -1340,7 +1340,7 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> {
         let mut def_id_to_node_id = IndexVec::default();
         assert_eq!(def_id_to_node_id.push(CRATE_NODE_ID), CRATE_DEF_ID);
         let mut node_id_to_def_id = NodeMap::default();
-        let crate_feed = tcx.feed_local_def_id(CRATE_DEF_ID).downgrade();
+        let crate_feed = tcx.feed_local_crate_def_id().downgrade();
         node_id_to_def_id.insert(CRATE_NODE_ID, crate_feed);
 
         let mut invocation_parents = FxHashMap::default();