Skip to content

Retain ParamEnv constness when running deferred cast checks#103683

Merged
bors merged 1 commit into
rust-lang:masterfrom
fee1-dead-contrib:fix-deferred-cast-checks-constness
Oct 28, 2022
Merged

Retain ParamEnv constness when running deferred cast checks#103683
bors merged 1 commit into
rust-lang:masterfrom
fee1-dead-contrib:fix-deferred-cast-checks-constness

Conversation

@fee1-dead

Copy link
Copy Markdown
Member

Fixes #103677.

@rustbot

rustbot commented Oct 28, 2022

Copy link
Copy Markdown
Collaborator

r? @estebank

(rustbot has picked a reviewer for you, use r? to override)

@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 28, 2022
@rust-log-analyzer

This comment has been minimized.

@fee1-dead fee1-dead force-pushed the fix-deferred-cast-checks-constness branch from 3a0b9b0 to 6000491 Compare October 28, 2022 11:54
@rust-log-analyzer

This comment has been minimized.

@fee1-dead fee1-dead force-pushed the fix-deferred-cast-checks-constness branch from 6000491 to a990b4c Compare October 28, 2022 12:03
@rustbot

rustbot commented Oct 28, 2022

Copy link
Copy Markdown
Collaborator

Some changes occurred in src/tools/clippy

cc @rust-lang/clippy

@fee1-dead

Copy link
Copy Markdown
Member Author

r? @oli-obk

@rustbot rustbot assigned oli-obk and unassigned estebank Oct 28, 2022
@oli-obk

oli-obk commented Oct 28, 2022

Copy link
Copy Markdown
Contributor

@bors r+ p=1 (prioritizing, as it could make the beta cut and avoid a beta backport)

@bors

bors commented Oct 28, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit a990b4c has been approved by oli-obk

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-review Status: Awaiting review from the assignee but also interested parties. labels Oct 28, 2022
@Dylan-DPC

Copy link
Copy Markdown
Member

@bors p=10

@bors

bors commented Oct 28, 2022

Copy link
Copy Markdown
Collaborator

⌛ Testing commit a990b4c with merge 9565dfe...

@bors

bors commented Oct 28, 2022

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: oli-obk
Pushing 9565dfe to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Oct 28, 2022
@bors bors merged commit 9565dfe into rust-lang:master Oct 28, 2022
@rustbot rustbot added this to the 1.66.0 milestone Oct 28, 2022
@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (9565dfe): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

This benchmark run did not return any relevant results for this metric.

Cycles

This benchmark run did not return any relevant results for this metric.

@fee1-dead fee1-dead deleted the fix-deferred-cast-checks-constness branch November 3, 2022 15:13
Zalathar added a commit to Zalathar/rust that referenced this pull request Oct 31, 2025
…dead

Fix deferred cast checks using the wrong body for determining constness

re-introduces rust-lang#103683

it was lost in rust-lang@4fec845

deferred checks possibly have more such issues, needs investigation.

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

merged-by-bors This PR was explicitly merged by bors. 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.

Compilation error with nightly: the trait ~const Deref is not implemented for String

8 participants