about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/query/mod.rs
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2025-07-24 15:08:19 +0200
committerGitHub <noreply@github.com>2025-07-24 15:08:19 +0200
commit404f904f76531a43246c74e291e199a14b456f68 (patch)
tree1e9eea3f5d0247ac96cb46265daee0d5cc15fd28 /compiler/rustc_middle/src/query/mod.rs
parentfc5af1813307d25a84d633f21e2e53c9376eb547 (diff)
parent3440bc92f90366a9f65ec2b86e3e1b5fe3922aa6 (diff)
downloadrust-404f904f76531a43246c74e291e199a14b456f68.tar.gz
rust-404f904f76531a43246c74e291e199a14b456f68.zip
Rollup merge of #143374 - cjgillot:bare-extern-crate-map, r=petrochenkov
Unquerify extern_mod_stmt_cnum.

Based on https://github.com/rust-lang/rust/pull/143247
r? `````@ghost````` for perf
Diffstat (limited to 'compiler/rustc_middle/src/query/mod.rs')
-rw-r--r--compiler/rustc_middle/src/query/mod.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs
index 638dc2c78e4..b0d579a546f 100644
--- a/compiler/rustc_middle/src/query/mod.rs
+++ b/compiler/rustc_middle/src/query/mod.rs
@@ -2152,9 +2152,6 @@ rustc_queries! {
         desc { |tcx| "collecting child items of module `{}`", tcx.def_path_str(def_id) }
         separate_provide_extern
     }
-    query extern_mod_stmt_cnum(def_id: LocalDefId) -> Option<CrateNum> {
-        desc { |tcx| "computing crate imported by `{}`", tcx.def_path_str(def_id) }
-    }
 
     /// Gets the number of definitions in a foreign crate.
     ///