Skip to content

Rename HAS_CT_PROJECTION to HAS_CONST_ALIAS - #158495

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
bit-aloo:2026-06-27-rename-tflag
Jul 9, 2026
Merged

Rename HAS_CT_PROJECTION to HAS_CONST_ALIAS#158495
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
bit-aloo:2026-06-27-rename-tflag

Conversation

@bit-aloo

Copy link
Copy Markdown
Member

@rustbot

Copy link
Copy Markdown
Collaborator

Some changes occurred in abstract_const.rs

cc @BoxyUwU

Some changes occurred to MIR optimizations

cc @rust-lang/wg-mir-opt

@rustbotrustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jun 27, 2026
@rustbot

Copy link
Copy Markdown
Collaborator

BoxyUwU is currently at their maximum review capacity.
They may take a while to respond.

@bit-aloo

Copy link
Copy Markdown
MemberAuthor

cc: @khyperia

@khyperiakhyperia left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

One bikeshed nit: most (but annoyingly, not all) flags here are singular, not plural (and all uses of the word "alias" are singular). So maybe HAS_CONST_ALIAS. But, shrug.

View changes since this review

@rust-cloud-vms
rust-cloud-vmsBotforce-pushed the 2026-06-27-rename-tflag branch from 07cf573 to e3e20edCompareJune 29, 2026 07:43
@bit-aloo

Copy link
Copy Markdown
MemberAuthor

Thanks!

One bikeshed nit: most (but annoyingly, not all) flags here are singular, not plural (and all uses of the word "alias" are singular). So maybe HAS_CONST_ALIAS. But, shrug.

View changes since this review

Changed to singular form here: e3e20ed, thanks

@bit-aloobit-aloo changed the title Rename HAS_CT_PROJECTION to HAS_CONST_ALIASESRename HAS_CT_PROJECTION to HAS_CONST_ALIASJun 29, 2026
@BoxyUwU

Copy link
Copy Markdown
Member

@bors r=BoxyUwU,khyperia

@rust-bors

rust-borsBot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

📌 Commit e3e20ed has been approved by BoxyUwU,khyperia

It is now in the queue for this repository.

@rust-borsrust-borsBot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 8, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Jul 8, 2026
…, r=BoxyUwU,khyperia
Rename HAS_CT_PROJECTION to HAS_CONST_ALIAS
follow up: rust-lang#158115 (comment)
r? @BoxyUwU
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Jul 8, 2026
…, r=BoxyUwU,khyperia
Rename HAS_CT_PROJECTION to HAS_CONST_ALIAS
follow up: rust-lang#158115 (comment)
r? @BoxyUwU
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Jul 8, 2026
…, r=BoxyUwU,khyperia
Rename HAS_CT_PROJECTION to HAS_CONST_ALIAS
follow up: rust-lang#158115 (comment)
r? @BoxyUwU
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Jul 8, 2026
…, r=BoxyUwU,khyperia
Rename HAS_CT_PROJECTION to HAS_CONST_ALIAS
follow up: rust-lang#158115 (comment)
r? @BoxyUwU
rust-borsBot pushed a commit that referenced this pull request Jul 8, 2026
…uwer
Rollup of 25 pull requests
Successful merges:
- #158871 (add relnotes for 1.97.0)
- #158968 (stdarch subtree update)
- #154445 (rustdoc: Represent `--output-format=json` coverage and ir differently)
- #156370 (Reject linked dylib EII default overrides)
- #157153 (allow `Allocator`s to be used as `#[global_allocator]`s)
- #158495 (Rename HAS_CT_PROJECTION to HAS_CONST_ALIAS)
- #158617 (allow mGCA const arguments to fall back to anon consts)
- #158645 (Fix splat ICEs and ban it in closures)
- #158655 (Fix coroutine MIR saved local remapping)
- #158666 (Carry the `b_offset` inside `BackendRepr::ScalarPair`)
- #158912 (Introduce new bootstrap config section for PGO configuration)
- #158920 (Update wasm-component-ld to 0.5.26)
- #158926 (wrapping_sh* methods: clarify underspecified reference)
- #158927 (add core test run with `-Zforce-intrinsic-fallback`)
- #158932 (Do not build the compiler when invoking `x perf compare`)
- #158937 (Emit the emscripten entry point as `__main_argc_argv`)
- #151379 (Stabilize `VecDeque::retain_back` from `truncate_front`)
- #156548 ( Library support for aarch64-unknown-linux-pauthtest target)
- #158307 (CI job for parallel frontend ui tests)
- #158347 (Improve generic parameters handling for #[diagnostic::on_const])
- #158722 (delegation: do not always inherit `ConstArgHasType` predicates)
- #158741 (Simplify `Option::into_flat_iter` signature)
- #158807 (Add regression test for CString::clone_into unwind safety)
- #158862 (Fix the span for parameter suggestion )
- #158883 (tests: fix enum-match.rs to handle LLVM 23)
jhpratt added a commit to jhpratt/rust that referenced this pull request Jul 8, 2026
…, r=BoxyUwU,khyperia
Rename HAS_CT_PROJECTION to HAS_CONST_ALIAS
follow up: rust-lang#158115 (comment)
r? @BoxyUwU
@jhprattjhpratt mentioned this pull request Jul 8, 2026
rust-borsBot pushed a commit that referenced this pull request Jul 8, 2026
Rollup of 25 pull requests
Successful merges:
- #158871 (add relnotes for 1.97.0)
- #158968 (stdarch subtree update)
- #157690 (codegen_ssa: pack small const aggregates into immediate stores)
- #158541 (Move `std::io::Write` to `core::io`)
- #154445 (rustdoc: Represent `--output-format=json` coverage and ir differently)
- #156370 (Reject linked dylib EII default overrides)
- #157153 (allow `Allocator`s to be used as `#[global_allocator]`s)
- #158495 (Rename HAS_CT_PROJECTION to HAS_CONST_ALIAS)
- #158617 (allow mGCA const arguments to fall back to anon consts)
- #158645 (Fix splat ICEs and ban it in closures)
- #158655 (Fix coroutine MIR saved local remapping)
- #158666 (Carry the `b_offset` inside `BackendRepr::ScalarPair`)
- #158870 (std: merge the unix-like io::error modules into one file)
- #158920 (Update wasm-component-ld to 0.5.26)
- #158926 (wrapping_sh* methods: clarify underspecified reference)
- #158927 (add core test run with `-Zforce-intrinsic-fallback`)
- #158932 (Do not build the compiler when invoking `x perf compare`)
- #158937 (Emit the emscripten entry point as `__main_argc_argv`)
- #151379 (Stabilize `VecDeque::retain_back` from `truncate_front`)
- #156144 (Better docs for PartialEq (includes macro rename))
- #156548 ( Library support for aarch64-unknown-linux-pauthtest target)
- #158307 (CI job for parallel frontend ui tests)
- #158347 (Improve generic parameters handling for #[diagnostic::on_const])
- #158722 (delegation: do not always inherit `ConstArgHasType` predicates)
- #158741 (Simplify `Option::into_flat_iter` signature)
jhpratt added a commit to jhpratt/rust that referenced this pull request Jul 9, 2026
…, r=BoxyUwU,khyperia
Rename HAS_CT_PROJECTION to HAS_CONST_ALIAS
follow up: rust-lang#158115 (comment)
r? @BoxyUwU
This was referenced Jul 9, 2026
rust-borsBot pushed a commit that referenced this pull request Jul 9, 2026
Rollup of 23 pull requests
Successful merges:
- #158968 (stdarch subtree update)
- #154445 (rustdoc: Represent `--output-format=json` coverage and ir differently)
- #158495 (Rename HAS_CT_PROJECTION to HAS_CONST_ALIAS)
- #158666 (Carry the `b_offset` inside `BackendRepr::ScalarPair`)
- #158870 (std: merge the unix-like io::error modules into one file)
- #158920 (Update wasm-component-ld to 0.5.26)
- #158926 (wrapping_sh* methods: clarify underspecified reference)
- #158927 (add core test run with `-Zforce-intrinsic-fallback`)
- #158932 (Do not build the compiler when invoking `x perf compare`)
- #158937 (Emit the emscripten entry point as `__main_argc_argv`)
- #151379 (Stabilize `VecDeque::retain_back` from `truncate_front`)
- #156144 (Better docs for PartialEq (includes macro rename))
- #156548 ( Library support for aarch64-unknown-linux-pauthtest target)
- #157995 (`Vec::dedup_by` docs explicit function argument order)
- #158307 (CI job for parallel frontend ui tests)
- #158741 (Simplify `Option::into_flat_iter` signature)
- #158807 (Add regression test for CString::clone_into unwind safety)
- #158862 (Fix the span for parameter suggestion )
- #158894 (Make the ordering of non-terminal binds in ambiguity error messages deterministic)
- #158902 (add codegen test for range length bound propagation)
- #158913 (Update `browser-ui-test` version to `0.24.1`)
- #158935 (std: support real fd methods on Emscripten)
- #158978 (Add regression test for too-big by-value ABI args)
@rust-bors
rust-borsBot merged commit fc7e5e6 into rust-lang:mainJul 9, 2026
13 checks passed
@rustbotrustbot added this to the 1.99.0 milestone Jul 9, 2026
rust-timer added a commit that referenced this pull request Jul 9, 2026
Rollup merge of #158495 - Shourya742:2026-06-27-rename-tflag, r=BoxyUwU,khyperia
Rename HAS_CT_PROJECTION to HAS_CONST_ALIAS
follow up: #158115 (comment)
r? @BoxyUwU
@bit-aloo
bit-aloo deleted the 2026-06-27-rename-tflag branch July 9, 2026 11:48
pullBot pushed a commit to xtqqczze/rust-lang-miri that referenced this pull request Jul 10, 2026
Rollup of 23 pull requests
Successful merges:
- rust-lang/rust#158968 (stdarch subtree update)
- rust-lang/rust#154445 (rustdoc: Represent `--output-format=json` coverage and ir differently)
- rust-lang/rust#158495 (Rename HAS_CT_PROJECTION to HAS_CONST_ALIAS)
- rust-lang/rust#158666 (Carry the `b_offset` inside `BackendRepr::ScalarPair`)
- rust-lang/rust#158870 (std: merge the unix-like io::error modules into one file)
- rust-lang/rust#158920 (Update wasm-component-ld to 0.5.26)
- rust-lang/rust#158926 (wrapping_sh* methods: clarify underspecified reference)
- rust-lang/rust#158927 (add core test run with `-Zforce-intrinsic-fallback`)
- rust-lang/rust#158932 (Do not build the compiler when invoking `x perf compare`)
- rust-lang/rust#158937 (Emit the emscripten entry point as `__main_argc_argv`)
- rust-lang/rust#151379 (Stabilize `VecDeque::retain_back` from `truncate_front`)
- rust-lang/rust#156144 (Better docs for PartialEq (includes macro rename))
- rust-lang/rust#156548 ( Library support for aarch64-unknown-linux-pauthtest target)
- rust-lang/rust#157995 (`Vec::dedup_by` docs explicit function argument order)
- rust-lang/rust#158307 (CI job for parallel frontend ui tests)
- rust-lang/rust#158741 (Simplify `Option::into_flat_iter` signature)
- rust-lang/rust#158807 (Add regression test for CString::clone_into unwind safety)
- rust-lang/rust#158862 (Fix the span for parameter suggestion )
- rust-lang/rust#158894 (Make the ordering of non-terminal binds in ambiguity error messages deterministic)
- rust-lang/rust#158902 (add codegen test for range length bound propagation)
- rust-lang/rust#158913 (Update `browser-ui-test` version to `0.24.1`)
- rust-lang/rust#158935 (std: support real fd methods on Emscripten)
- rust-lang/rust#158978 (Add regression test for too-big by-value ABI args)
github-actionsBot pushed a commit to rust-lang/stdarch that referenced this pull request Jul 16, 2026
Rollup of 23 pull requests
Successful merges:
- rust-lang/rust#158968 (stdarch subtree update)
- rust-lang/rust#154445 (rustdoc: Represent `--output-format=json` coverage and ir differently)
- rust-lang/rust#158495 (Rename HAS_CT_PROJECTION to HAS_CONST_ALIAS)
- rust-lang/rust#158666 (Carry the `b_offset` inside `BackendRepr::ScalarPair`)
- rust-lang/rust#158870 (std: merge the unix-like io::error modules into one file)
- rust-lang/rust#158920 (Update wasm-component-ld to 0.5.26)
- rust-lang/rust#158926 (wrapping_sh* methods: clarify underspecified reference)
- rust-lang/rust#158927 (add core test run with `-Zforce-intrinsic-fallback`)
- rust-lang/rust#158932 (Do not build the compiler when invoking `x perf compare`)
- rust-lang/rust#158937 (Emit the emscripten entry point as `__main_argc_argv`)
- rust-lang/rust#151379 (Stabilize `VecDeque::retain_back` from `truncate_front`)
- rust-lang/rust#156144 (Better docs for PartialEq (includes macro rename))
- rust-lang/rust#156548 ( Library support for aarch64-unknown-linux-pauthtest target)
- rust-lang/rust#157995 (`Vec::dedup_by` docs explicit function argument order)
- rust-lang/rust#158307 (CI job for parallel frontend ui tests)
- rust-lang/rust#158741 (Simplify `Option::into_flat_iter` signature)
- rust-lang/rust#158807 (Add regression test for CString::clone_into unwind safety)
- rust-lang/rust#158862 (Fix the span for parameter suggestion )
- rust-lang/rust#158894 (Make the ordering of non-terminal binds in ambiguity error messages deterministic)
- rust-lang/rust#158902 (add codegen test for range length bound propagation)
- rust-lang/rust#158913 (Update `browser-ui-test` version to `0.24.1`)
- rust-lang/rust#158935 (std: support real fd methods on Emscripten)
- rust-lang/rust#158978 (Add regression test for too-big by-value ABI args)
Kobzol pushed a commit to Kobzol/rustc_codegen_cranelift that referenced this pull request Jul 23, 2026
Rollup of 23 pull requests
Successful merges:
- rust-lang/rust#158968 (stdarch subtree update)
- rust-lang/rust#154445 (rustdoc: Represent `--output-format=json` coverage and ir differently)
- rust-lang/rust#158495 (Rename HAS_CT_PROJECTION to HAS_CONST_ALIAS)
- rust-lang/rust#158666 (Carry the `b_offset` inside `BackendRepr::ScalarPair`)
- rust-lang/rust#158870 (std: merge the unix-like io::error modules into one file)
- rust-lang/rust#158920 (Update wasm-component-ld to 0.5.26)
- rust-lang/rust#158926 (wrapping_sh* methods: clarify underspecified reference)
- rust-lang/rust#158927 (add core test run with `-Zforce-intrinsic-fallback`)
- rust-lang/rust#158932 (Do not build the compiler when invoking `x perf compare`)
- rust-lang/rust#158937 (Emit the emscripten entry point as `__main_argc_argv`)
- rust-lang/rust#151379 (Stabilize `VecDeque::retain_back` from `truncate_front`)
- rust-lang/rust#156144 (Better docs for PartialEq (includes macro rename))
- rust-lang/rust#156548 ( Library support for aarch64-unknown-linux-pauthtest target)
- rust-lang/rust#157995 (`Vec::dedup_by` docs explicit function argument order)
- rust-lang/rust#158307 (CI job for parallel frontend ui tests)
- rust-lang/rust#158741 (Simplify `Option::into_flat_iter` signature)
- rust-lang/rust#158807 (Add regression test for CString::clone_into unwind safety)
- rust-lang/rust#158862 (Fix the span for parameter suggestion )
- rust-lang/rust#158894 (Make the ordering of non-terminal binds in ambiguity error messages deterministic)
- rust-lang/rust#158902 (add codegen test for range length bound propagation)
- rust-lang/rust#158913 (Update `browser-ui-test` version to `0.24.1`)
- rust-lang/rust#158935 (std: support real fd methods on Emscripten)
- rust-lang/rust#158978 (Add regression test for too-big by-value ABI args)
flip1995 pushed a commit to flip1995/rust-clippy that referenced this pull request Aug 17, 2026
Rollup of 23 pull requests
Successful merges:
- rust-lang/rust#158968 (stdarch subtree update)
- rust-lang/rust#154445 (rustdoc: Represent `--output-format=json` coverage and ir differently)
- rust-lang/rust#158495 (Rename HAS_CT_PROJECTION to HAS_CONST_ALIAS)
- rust-lang/rust#158666 (Carry the `b_offset` inside `BackendRepr::ScalarPair`)
- rust-lang/rust#158870 (std: merge the unix-like io::error modules into one file)
- rust-lang/rust#158920 (Update wasm-component-ld to 0.5.26)
- rust-lang/rust#158926 (wrapping_sh* methods: clarify underspecified reference)
- rust-lang/rust#158927 (add core test run with `-Zforce-intrinsic-fallback`)
- rust-lang/rust#158932 (Do not build the compiler when invoking `x perf compare`)
- rust-lang/rust#158937 (Emit the emscripten entry point as `__main_argc_argv`)
- rust-lang/rust#151379 (Stabilize `VecDeque::retain_back` from `truncate_front`)
- rust-lang/rust#156144 (Better docs for PartialEq (includes macro rename))
- rust-lang/rust#156548 ( Library support for aarch64-unknown-linux-pauthtest target)
- rust-lang/rust#157995 (`Vec::dedup_by` docs explicit function argument order)
- rust-lang/rust#158307 (CI job for parallel frontend ui tests)
- rust-lang/rust#158741 (Simplify `Option::into_flat_iter` signature)
- rust-lang/rust#158807 (Add regression test for CString::clone_into unwind safety)
- rust-lang/rust#158862 (Fix the span for parameter suggestion )
- rust-lang/rust#158894 (Make the ordering of non-terminal binds in ambiguity error messages deterministic)
- rust-lang/rust#158902 (add codegen test for range length bound propagation)
- rust-lang/rust#158913 (Update `browser-ui-test` version to `0.24.1`)
- rust-lang/rust#158935 (std: support real fd methods on Emscripten)
- rust-lang/rust#158978 (Add regression test for too-big by-value ABI args)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@bit-aloo@rustbot@BoxyUwU@khyperia