Refactor: shrink region ext traits - #160220
Merged
rust-bors[bot] merged 2 commits intoJul 31, 2026
Merged
Conversation
Collaborator
|
cc @rust-lang/clippy HIR ty lowering was modified cc @fmease Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
This comment has been minimized.
This comment has been minimized.
Jamesbarford
force-pushed
the
chore/shrink-region-ext-triats
branch
from
July 30, 2026 14:46
ef6ce70 to
edb5a64
Compare
This comment has been minimized.
This comment has been minimized.
Jamesbarford
force-pushed
the
chore/shrink-region-ext-triats
branch
from
July 30, 2026 16:02
edb5a64 to
6638f42
Compare
This comment has been minimized.
This comment has been minimized.
Contributor
|
Moving methods is good, but I don't want to move |
Jamesbarford
force-pushed
the
chore/shrink-region-ext-triats
branch
from
July 31, 2026 07:35
6638f42 to
543a403
Compare
Contributor
|
@bors r+ rollup=iffy (lots of changes to imports) |
Contributor
rust-bors Bot
pushed a commit
that referenced
this pull request
Jul 31, 2026
…uwer Rollup of 22 pull requests Successful merges: - #160100 (Add "system" option to `override-allocator` directive) - #160220 (Refactor: shrink region ext traits) - #159675 (rustc: Support `--jobs` options for limiting parallelism in various parts of the compiler) - #159999 (Fix invalidation of stdlib in bootstrap when using non-LLVM codegen backends) - #160233 (Bubble bad path error while parsing field to avoid unecessary second error) - #160272 (rustc_metadata: Move native library search code to `rustc_codegen_ssa`) - #154202 (rustfmt: Format `cfg_select!`) - #159520 (Suggest `Vec<T>` instead of `[T]`) - #159710 (Add rustdoc/cargo PGO profiles to reproducible artifacts) - #160034 (Move "macro only" check for `#[allow_internal_unsafe/unstable]` to attribute parser) - #160066 (rustc_middle: lint attribute cleanups) - #160085 (Remove various superfluous lint attributes) - #160113 (Coalesce `rustc_on_unimplemented` attributes and lint malformed filters) - #160119 (fix query cycle in `coroutine_hidden_types` for the next solver) - #160147 (tests: Remove `-Zthreads` options from tests in `ui/parallel-rustc`) - #160157 (Remove outdated comments from `va_list.rs`) - #160159 (More accurately check for interior mutability in `invalid_reference_casting` lint) - #160208 (rustdoc: Fix crash when trying to list attributes on an opaque type) - #160244 (Rename splat to rustc_splat in error messages) - #160246 (dont fire `unused_mut` on `&pin mut self`) - #160247 (Configure backport nominations for rustfmt) - #160274 (renovate: update lock files weekly)
rust-timer
added a commit
that referenced
this pull request
Jul 31, 2026
Rollup merge of #160220 - Jamesbarford:chore/shrink-region-ext-triats, r=lcnr Refactor: shrink region ext traits - Removes `RegionUtilitiesExt`. - Ports, where trivially simple, methods from the extension traits to `rustc_type_ir`. - Cleans up imported crates where possible. It seems `EarlyParamRegion` could possibly move to `rust_type_ir`? r? @lcnr
flip1995
pushed a commit
to flip1995/rust
that referenced
this pull request
Aug 1, 2026
…xt-triats, r=lcnr Refactor: shrink region ext traits - Removes `RegionUtilitiesExt`. - Ports, where trivially simple, methods from the extension traits to `rustc_type_ir`. - Cleans up imported crates where possible. It seems `EarlyParamRegion` could possibly move to `rust_type_ir`? r? @lcnr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RegionUtilitiesExt.rustc_type_ir.It seems
EarlyParamRegioncould possibly move torust_type_ir?r? @lcnr