diff options
| author | bors <bors@rust-lang.org> | 2022-02-21 03:36:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-02-21 03:36:55 +0000 |
| commit | 026d8ce7f5f66ba6fbb8aaf4babb533e95ee3efd (patch) | |
| tree | 8f3895dd5b2b0f7921f1c62b88ce225c210594b6 /compiler/rustc_query_impl/src/lib.rs | |
| parent | 45e2c2881d11324d610815bfff097e25c412199e (diff) | |
| parent | ddda851fd542775d936eb7fe7e684bb6f2b4bbde (diff) | |
| download | rust-026d8ce7f5f66ba6fbb8aaf4babb533e95ee3efd.tar.gz rust-026d8ce7f5f66ba6fbb8aaf4babb533e95ee3efd.zip | |
Auto merge of #94066 - Mark-Simulacrum:factor-out-simple-def-kind, r=davidtwco
Remove SimpleDefKind Now that rustc_query_system depends on rustc_hir, we can just directly make use of the regular DefKind.
Diffstat (limited to 'compiler/rustc_query_impl/src/lib.rs')
| -rw-r--r-- | compiler/rustc_query_impl/src/lib.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_query_impl/src/lib.rs b/compiler/rustc_query_impl/src/lib.rs index 55e95e1a592..832540a85e7 100644 --- a/compiler/rustc_query_impl/src/lib.rs +++ b/compiler/rustc_query_impl/src/lib.rs @@ -44,8 +44,6 @@ pub use on_disk_cache::OnDiskCache; mod profiling_support; pub use self::profiling_support::alloc_self_profile_query_strings; -mod util; - fn describe_as_module(def_id: LocalDefId, tcx: TyCtxt<'_>) -> String { if def_id.is_top_level_module() { "top-level module".to_string() |
