Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #88208 - petrochenkov:lowspan, r=Aaron1011
ast_lowering: Introduce `lower_span` for catching all spans entering HIR This PR cherry-picks the `fn lower_span` change from #84373. I also introduced `fn lower_ident` for lowering spans in identifiers, and audited places where HIR structures with spans or identifiers are constructed and added a few missing `lower_span`s/`lower_ident`s. Having a hook for spans entering HIR can be useful for things other than #84373, e.g. #35148. I also want to check whether this change causes perf regressions due to some accidental inlining issues. r? `@cjgillot`
- Loading branch information