diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2025-07-03 13:42:36 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2025-07-04 14:01:09 +0000 |
| commit | 2d3ff91add77a2ae5959f5134e12f5c0eec59ce5 (patch) | |
| tree | f90985b54c58510b69fc547ce15f21ab1b140070 /compiler/rustc_middle/src/ty/context.rs | |
| parent | 556d20a834126d2d0ac20743b9792b8474d6d03c (diff) | |
| download | rust-2d3ff91add77a2ae5959f5134e12f5c0eec59ce5.tar.gz rust-2d3ff91add77a2ae5959f5134e12f5c0eec59ce5.zip | |
Remove names_imported_by_glob_use query.
Diffstat (limited to 'compiler/rustc_middle/src/ty/context.rs')
| -rw-r--r-- | compiler/rustc_middle/src/ty/context.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_middle/src/ty/context.rs b/compiler/rustc_middle/src/ty/context.rs index 8aa50d14faa..9518757c5ae 100644 --- a/compiler/rustc_middle/src/ty/context.rs +++ b/compiler/rustc_middle/src/ty/context.rs @@ -3413,10 +3413,6 @@ pub struct DeducedParamAttrs { pub fn provide(providers: &mut Providers) { providers.maybe_unused_trait_imports = |tcx, ()| &tcx.resolutions(()).maybe_unused_trait_imports; - providers.names_imported_by_glob_use = |tcx, id| { - tcx.arena.alloc(tcx.resolutions(()).glob_map.get(&id).cloned().unwrap_or_default()) - }; - providers.extern_mod_stmt_cnum = |tcx, id| tcx.resolutions(()).extern_crate_map.get(&id).cloned(); providers.is_panic_runtime = |
