Skip to content

Fix ICE on field access on a tainted type after const-eval failure - #120616

Merged
bors merged 1 commit into
rust-lang:masterfrom
fmease:fix-ice-const-eval-fail-undef-field-access
Feb 4, 2024
Merged

Fix ICE on field access on a tainted type after const-eval failure#120616
bors merged 1 commit into
rust-lang:masterfrom
fmease:fix-ice-const-eval-fail-undef-field-access

Conversation

@fmease

Copy link
Copy Markdown
Member

Fixes#120615.

r? oli-obk or compiler

@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 Feb 3, 2024
Comment threadcompiler/rustc_passes/src/dead.rs Outdated
@fmease
fmease marked this pull request as draft February 3, 2024 16:48
@fmeasefmease 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 Feb 3, 2024
@fmease
fmeaseforce-pushed the fix-ice-const-eval-fail-undef-field-access branch from f39b6fd to 2668fa6CompareFebruary 3, 2024 18:36
@fmeasefmease added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Feb 3, 2024
@fmease
fmease marked this pull request as ready for review February 3, 2024 18:37
@fmease
fmeaseforce-pushed the fix-ice-const-eval-fail-undef-field-access branch from 2668fa6 to 0f31749CompareFebruary 3, 2024 18:40
Co-authored-by: Michael Goulet <michael@errs.io>
@fmease
fmeaseforce-pushed the fix-ice-const-eval-fail-undef-field-access branch from 0f31749 to 4f773afCompareFebruary 3, 2024 18:41
@compiler-errors

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@bors

bors commented Feb 3, 2024

Copy link
Copy Markdown
Collaborator

📌 Commit 4f773af has been approved by compiler-errors

It is now in the queue for this repository.

@bors

bors commented Feb 3, 2024

Copy link
Copy Markdown
Collaborator

🌲 The tree is currently closed for pull requests below priority 100. This pull request will be tested once the tree is reopened.

@borsbors 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 Feb 3, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 4, 2024
…iaskrgr
Rollup of 10 pull requests
Successful merges:
- rust-lang#119543 (add avx512fp16 to x86 target features)
- rust-lang#120004 (Release notes for 1.76)
- rust-lang#120562 (Revert unsound libcore changes)
- rust-lang#120566 (coverage: Use normal `edition:` headers in coverage tests)
- rust-lang#120570 (Suggest changing type to const parameters if we encounter a type in the trait bound position)
- rust-lang#120571 (Miscellaneous diagnostics cleanups)
- rust-lang#120573 (Remove `BorrowckErrors::tainted_by_errors`)
- rust-lang#120592 (Remove unnecessary `.to_string()`/`.as_str()`s)
- rust-lang#120610 (hir: Remove the generic type parameter from `MaybeOwned`)
- rust-lang#120616 (Fix ICE on field access on a tainted type after const-eval failure)
Failed merges:
- rust-lang#120569 (coverage: Improve handling of function/closure spans)
r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 4, 2024
…iaskrgr
Rollup of 10 pull requests
Successful merges:
- rust-lang#119543 (add avx512fp16 to x86 target features)
- rust-lang#120004 (Release notes for 1.76)
- rust-lang#120562 (Revert unsound libcore changes)
- rust-lang#120566 (coverage: Use normal `edition:` headers in coverage tests)
- rust-lang#120570 (Suggest changing type to const parameters if we encounter a type in the trait bound position)
- rust-lang#120571 (Miscellaneous diagnostics cleanups)
- rust-lang#120573 (Remove `BorrowckErrors::tainted_by_errors`)
- rust-lang#120592 (Remove unnecessary `.to_string()`/`.as_str()`s)
- rust-lang#120610 (hir: Remove the generic type parameter from `MaybeOwned`)
- rust-lang#120616 (Fix ICE on field access on a tainted type after const-eval failure)
Failed merges:
- rust-lang#120569 (coverage: Improve handling of function/closure spans)
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 326839b into rust-lang:masterFeb 4, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Feb 4, 2024
Rollup merge of rust-lang#120616 - fmease:fix-ice-const-eval-fail-undef-field-access, r=compiler-errors
Fix ICE on field access on a tainted type after const-eval failure
Fixesrust-lang#120615.
r? oli-obk or compiler
@rustbotrustbot added this to the 1.78.0 milestone Feb 4, 2024
@fmease
fmease deleted the fix-ice-const-eval-fail-undef-field-access branch February 4, 2024 21:12
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.

ice: named field access on non-ADT

5 participants

@fmease@compiler-errors@bors@oli-obk@rustbot