Remove bounds check when array is indexed by enum#103584
Remove bounds check when array is indexed by enum#103584bors merged 1 commit intorust-lang:masterfrom
Conversation
|
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
This comment has been minimized.
This comment has been minimized.
oli-obk
left a comment
There was a problem hiding this comment.
Please do some manual rustfmting since rustfmt is broken on this file
Formatted some more, let me know if it's still bad. |
This comment has been minimized.
This comment has been minimized.
it is you can just copy your added code into the playground and rustfmt it there and copy it back, I think that should work |
0f6652d to
97c9365
Compare
oli-obk
left a comment
There was a problem hiding this comment.
After the comments have been addressed, squash all commits
|
@bors delegate+ r=me with commits squashed |
|
✌️ @ouz-a can now approve this pull request |
|
@bors r=oli-obk |
|
📌 Commit 689d9d4b426661a2df66ccab014bd2fe76e5cfe0 has been approved by It is now in the queue for this repository. |
|
☔ The latest upstream changes (presumably #103787) made this pull request unmergeable. Please resolve the merge conflicts. |
|
@bors r=oli-obk |
Rollup of 6 pull requests Successful merges: - rust-lang#103061 (Rewrite implementation of `#[alloc_error_handler]`) - rust-lang#103584 (Remove bounds check when array is indexed by enum) - rust-lang#103706 (Fix E0433 No Typo Suggestions) - rust-lang#103729 (interpret: fix align_of_val on packed types) - rust-lang#103759 (Use `adt_def` during type collection.) - rust-lang#103809 (Fix a typo in std::net mod doc comment) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
As the title says, this reverts the behavior introduced with 1.64.
Fixes #102303
r? @oli-obk