Skip to content

Conversation

@nikic
Copy link
Contributor

@nikic nikic commented Jan 30, 2026

The IR is a bit different (in particular wrt naming) if debug-assertions-std is enabled. Peculiarly, the issue goes away if overflow-check-std is also enabled, which is why CI did not catch this.

r? @the8472

The IR is a bit different (in particular wrt naming) if
debug-assertions-std is enabled. Peculiarly, the issue goes away
if overflow-check-std is also enabled, which is why CI did not
catch this.
@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. labels Jan 30, 2026
@the8472
Copy link
Member

the8472 commented Jan 30, 2026

Fine as a quick fix I guess, though if value naming is still to brittle it might break again in the future.
But I couldn't think of a better way to express "copied from a pointer in the input argument to a pointer in the output argument, no intermediate memcpy (also not hidden behind a call)".

Should be fine to rollup since it only disables the test in more cases.

@bors r+ rollup

@rust-bors
Copy link
Contributor

rust-bors bot commented Jan 30, 2026

📌 Commit acb5ee2 has been approved by the8472

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 Jan 30, 2026
rust-bors bot pushed a commit that referenced this pull request Jan 30, 2026
…uwer

Rollup of 4 pull requests

Successful merges:

 - #151376 (Fix performance issue in liveness checking)
 - #151851 (Remove redundant `IntoQueryParam` calls from query plumbing)
 - #151854 (Show break type expectation cause for let-else)
 - #151859 (Disable append-elements.rs test with debug assertions)
@rust-bors rust-bors bot merged commit a93e9eb into rust-lang:main Jan 30, 2026
11 checks passed
rust-timer added a commit that referenced this pull request Jan 30, 2026
Rollup merge of #151859 - nikic:append-elements-test, r=the8472

Disable append-elements.rs test with debug assertions

The IR is a bit different (in particular wrt naming) if debug-assertions-std is enabled. Peculiarly, the issue goes away if overflow-check-std is also enabled, which is why CI did not catch this.

r? @the8472
@rustbot rustbot added this to the 1.95.0 milestone Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant 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.

3 participants