Skip to content

Rollup of 3 pull requests#154570

Closed
jhpratt wants to merge 6 commits intorust-lang:mainfrom
jhpratt:rollup-KW3Jksq
Closed

Rollup of 3 pull requests#154570
jhpratt wants to merge 6 commits intorust-lang:mainfrom
jhpratt:rollup-KW3Jksq

Conversation

@jhpratt
Copy link
Copy Markdown
Member

@jhpratt jhpratt commented Mar 30, 2026

Successful merges:

r? @ghost

Create a similar rollup

jeanibarz and others added 6 commits March 29, 2026 15:40
Exercises TransmuteFrom with min_generic_const_args, which previously
caused an ICE in well-formedness checking.
Modify the main error message to read better:

```
error[E0275]: overflow evaluating whether `&'a mut Bar` is well-formed
```
Set the `mcount` field to "_mcount" for all LoongArch targets to match
Clang/GCC behavior [1]. This fixes linking failures when using
`-Z instrument-mcount`, where the runtime expects "_mcount" instead of
"mcount".

[1] https://github.com/llvm/llvm-project/blob/main/clang/lib/Basic/Targets/LoongArch.h#L60
…ieyouxu

Add regression test for TransmuteFrom ICE with min_generic_const_args

Regression test for rust-lang#150457.

The wfcheck ICE with TransmuteFrom + min_generic_const_args was fixed by rust-lang#150707 but didn't get a test.

Closes rust-lang#150457
Tweak wording of E0275 WF errors

Modify the main error message to read better:

```
error[E0275]: overflow evaluating whether `&'a mut Bar` is well-formed
```
loongarch: use "_mcount" as the default mcount symbol

Set the `mcount` field to "_mcount" for all LoongArch targets to match Clang/GCC behavior [1]. This fixes linking failures when using `-Z instrument-mcount`, where the runtime expects "_mcount" instead of "mcount".

[1] https://github.com/llvm/llvm-project/blob/main/clang/lib/Basic/Targets/LoongArch.h#L60
@rust-bors rust-bors bot added the rollup A PR which is a rollup label Mar 30, 2026
@rustbot rustbot 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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Mar 30, 2026
@jhpratt
Copy link
Copy Markdown
Member Author

jhpratt commented Mar 30, 2026

@bors r+ rollup=never p=5

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Mar 30, 2026

📌 Commit 13cfda6 has been approved by jhpratt

It is now in the queue for this repository.

@rust-bors rust-bors bot 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 Mar 30, 2026
@rust-bors

This comment has been minimized.

rust-bors bot pushed a commit that referenced this pull request Mar 30, 2026
Rollup of 3 pull requests

Successful merges:

 - #154548 (Add regression test for TransmuteFrom ICE with min_generic_const_args)
 - #154564 (Tweak wording of E0275 WF errors)
 - #154566 (loongarch: use "_mcount" as the default mcount symbol)
@rust-log-analyzer
Copy link
Copy Markdown
Collaborator

The job x86_64-msvc-1 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)

@rust-bors rust-bors bot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Mar 30, 2026
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Mar 30, 2026

💔 Test for 04cc169 failed: CI. Failed job:

@jhpratt
Copy link
Copy Markdown
Member Author

jhpratt commented Mar 30, 2026

spurious; closing for a larger rollup

@jhpratt jhpratt closed this Mar 30, 2026
@rust-bors rust-bors bot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Mar 30, 2026
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 30, 2026
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Mar 30, 2026

This pull request was unapproved due to being closed.

@jhpratt jhpratt deleted the rollup-KW3Jksq branch March 30, 2026 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollup A PR which is a rollup S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants