about summary refs log tree commit diff
path: root/compiler/rustc_monomorphize
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-03-20 23:52:26 +0100
committerRalf Jung <post@ralfj.de>2024-03-21 14:27:11 +0100
commit0dd8a83e5efccc8c01f509cdaded58d5a5729c4e (patch)
tree60a7ab7042afd60cc786e3f14b7eaf90fff77ffe /compiler/rustc_monomorphize
parent1e926b50d7011e58f2855358b436d6f188e4579a (diff)
downloadrust-0dd8a83e5efccc8c01f509cdaded58d5a5729c4e.tar.gz
rust-0dd8a83e5efccc8c01f509cdaded58d5a5729c4e.zip
rename items -> free_items
Diffstat (limited to 'compiler/rustc_monomorphize')
-rw-r--r--compiler/rustc_monomorphize/src/collector.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_monomorphize/src/collector.rs b/compiler/rustc_monomorphize/src/collector.rs
index 0f4b2463c58..1a18a84b358 100644
--- a/compiler/rustc_monomorphize/src/collector.rs
+++ b/compiler/rustc_monomorphize/src/collector.rs
@@ -1526,7 +1526,7 @@ fn collect_roots(tcx: TyCtxt<'_>, mode: MonoItemCollectionStrategy) -> Vec<MonoI
 
         let crate_items = tcx.hir_crate_items(());
 
-        for id in crate_items.items() {
+        for id in crate_items.free_items() {
             collector.process_item(id);
         }