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_interface/src | |
| 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_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/proc_macro_decls.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/proc_macro_decls.rs b/compiler/rustc_interface/src/proc_macro_decls.rs index 00600abb5f1..a2c1f1dbeda 100644 --- a/compiler/rustc_interface/src/proc_macro_decls.rs +++ b/compiler/rustc_interface/src/proc_macro_decls.rs @@ -8,7 +8,7 @@ fn proc_macro_decls_static(tcx: TyCtxt<'_>, (): ()) -> Option<LocalDefId> { let mut decls = None; for id in tcx.hir_free_items() { - let attrs = tcx.hir().attrs(id.hir_id()); + let attrs = tcx.hir_attrs(id.hir_id()); if attr::contains_name(attrs, sym::rustc_proc_macro_decls) { decls = Some(id.owner_id.def_id); } |
