SIGN IN SIGN UP

Rollup merge of #161351 - fmease:mv-impl-dump-obj-lt-defs, r=JonathanBrouwer

Cleanup: Move impl of `#[rustc_dump_object_lifetime_defaults]`

Module `rustc_passes::check_attr` hosts *validity checks* for attributes (that can't be impl'ed in `rustc_attr_parsing` (yet)). However on main, the *actual impl* of `#[rustc_dump_object_lifetime_defaults]` lives there, too, which is wrong. Move it closer to the provider of the corresponding query (`object_lifetime_defaults`) which lives in `rustc_hir_analysis`. IIRC the eventual goal is to remove `check_attr` entirely in favor of `rustc_attr_parsing` if possible, meaning the impl probably *has* to move in the future anyway. Let's do it now.

<sub>(No LLM was used in the creation of this PR)</sub>
J
Jacob Pratt committed
17438c27a2a354c896fe3162cbf8db09d8b44618
Committed by GitHub <noreply@github.com> on 8/21/2026, 1:34:37 AM