Skip to content

Conversation

@oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Oct 30, 2025

re-introduces #103683

it was lost in 4fec845

deferred checks possibly have more such issues, needs investigation.

r? @fee1-dead

@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 Oct 30, 2025
@rustbot

This comment was marked as outdated.

@rustbot rustbot assigned fee1-dead and unassigned jackh726 Oct 30, 2025
Copy link
Member

@fee1-dead fee1-dead left a comment

Choose a reason for hiding this comment

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

Comment on lines 75 to 76
// don't hold the borrow to deferred_cast_checks while checking to avoid borrow checker errors
// when writing to `self.param_env`.
Copy link
Member

Choose a reason for hiding this comment

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

This seems to be outdated now; also do we still need to mem::take?

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 30, 2025
@oli-obk
Copy link
Contributor Author

oli-obk commented Oct 31, 2025

@bors r=fee1-dead rollup

@bors
Copy link
Collaborator

bors commented Oct 31, 2025

📌 Commit 8762219 has been approved by fee1-dead

It is now in the queue for this repository.

@bors bors 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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Oct 31, 2025
bors added a commit that referenced this pull request Oct 31, 2025
Rollup of 3 pull requests

Successful merges:

 - #148165 (Use `mut` less in dataflow analysis)
 - #148287 (Fix deferred cast checks using the wrong body for determining constness)
 - #148317 (bootstrap: Extract parts of `bootstrap::core::builder` into a `cli_paths` module)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 43cb58d into rust-lang:master Oct 31, 2025
11 checks passed
@rustbot rustbot added this to the 1.93.0 milestone Oct 31, 2025
rust-timer added a commit that referenced this pull request Oct 31, 2025
Rollup merge of #148287 - oli-obk:push-osluqnunqkyl, r=fee1-dead

Fix deferred cast checks using the wrong body for determining constness

re-introduces #103683

it was lost in 4fec845

deferred checks possibly have more such issues, needs investigation.

r? `@fee1-dead`
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.

5 participants