diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2025-03-12 10:19:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-12 10:19:26 -0700 |
| commit | f88f27aff008d0fc6be906ee7b4d1a55f8d59aef (patch) | |
| tree | 07814f454b900ec8ac01d026ce55fa643e641b22 /compiler/rustc_middle/src/query/mod.rs | |
| parent | 185dd2d01b87e7122427a10dab7e1d92b6976f6c (diff) | |
| parent | 256c27e748b477c1ec1c59bdc23afade5eec84aa (diff) | |
| download | rust-f88f27aff008d0fc6be906ee7b4d1a55f8d59aef.tar.gz rust-f88f27aff008d0fc6be906ee7b4d1a55f8d59aef.zip | |
Rollup merge of #137504 - nnethercote:remove-Map-4, r=Zalathar
Move methods from Map to TyCtxt, part 4. A follow-up to https://github.com/rust-lang/rust/pull/137350. r? ```@Zalathar```
Diffstat (limited to 'compiler/rustc_middle/src/query/mod.rs')
| -rw-r--r-- | compiler/rustc_middle/src/query/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs index c8708857565..781a898a6e9 100644 --- a/compiler/rustc_middle/src/query/mod.rs +++ b/compiler/rustc_middle/src/query/mod.rs @@ -198,7 +198,7 @@ rustc_queries! { /// /// This can be conveniently accessed by methods on `tcx.hir()`. /// Avoid calling this query directly. - query hir_attrs(key: hir::OwnerId) -> &'tcx hir::AttributeMap<'tcx> { + query hir_attr_map(key: hir::OwnerId) -> &'tcx hir::AttributeMap<'tcx> { desc { |tcx| "getting HIR owner attributes in `{}`", tcx.def_path_str(key) } feedable } |
