Mark unions non-const-propagatable in `KnownPanicsLint` without calling layout by gurry · Pull Request #124504 · rust-lang/rust

@gurry

as they have a potential to ICE during layout calculation

@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

Apr 29, 2024

@gurry gurry changed the title Prohibit const prop of unions in KnownPanicsLint Mark unions non-const-propagatable in KnownPanicsLint without calling layout

Apr 29, 2024

oli-obk

@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

Apr 29, 2024

bors added a commit to rust-lang-ci/rust that referenced this pull request

Apr 29, 2024
Rollup of 7 pull requests

Successful merges:

 - rust-lang#124269 (Pretty-print parenthesis around binary in postfix match)
 - rust-lang#124415 (Use probes more aggressively in new solver)
 - rust-lang#124475 (Remove direct dependencies on lazy_static, once_cell and byteorder)
 - rust-lang#124484 (Fix rust-lang#124478 - offset_of! returns a temporary)
 - rust-lang#124504 (Mark unions non-const-propagatable in `KnownPanicsLint` without calling layout)
 - rust-lang#124508 (coverage: Avoid hard-coded values when visiting logical ops)
 - rust-lang#124522 ([Refactor] Rename `Lint` and `LintGroup`'s `is_loaded` to `is_externally_loaded` )

r? `@ghost`
`@rustbot` modify labels: rollup

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Apr 29, 2024

@gurry gurry deleted the 123710-union-ICE branch

April 30, 2024 01:22

@gurry gurry mentioned this pull request

Apr 30, 2024

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Apr 30, 2024

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Apr 30, 2024