Uh oh!
There was an error while loading. Please reload this page.
const_prop_lint: Consider array length constant even if array is not - #100160
const_prop_lint: Consider array length constant even if array is not#100160TheWastl wants to merge 1 commit into
Conversation
rust-highfive
commented
Aug 5, 2022
(rust-highfive has picked a reviewer for you, use r? to override) |
rustbot
commented
Aug 5, 2022
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
compiler-errors
commented
Aug 5, 2022
r? oli-obk cc @JakobDegen |
RalfJung
commented
Aug 5, 2022
r? @oli-obk |
| return None; | ||
| } | ||
| Rvalue::Len(len_place) => { |
There was a problem hiding this comment.
I think we should make the same change in the const_prop pass as well:
but that doesn't have to be in this PR 🙂
There was a problem hiding this comment.
afaicr this is not necessary, because there are optimizations taking care of this before const prop runs
oli-obk
commented
Aug 25, 2022
@bors r+ rollup |
bors
commented
Aug 25, 2022
…nt, r=oli-obk const_prop_lint: Consider array length constant even if array is not Fixesrust-lang#98444.
JohnTitor
commented
Aug 26, 2022
Failed in rollup: #101016 (comment) |
e4a4246 to
d5c9e76Comparerustbot
commented
Sep 5, 2022
Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
rust-log-analyzer
commented
Sep 5, 2022
The job Click to see the possible cause of the failure (guessed by this bot) |
JohnCSimon
commented
Oct 2, 2022
Ping from triage: |
bors
commented
Oct 8, 2022
☔ The latest upstream changes (presumably #102091) made this pull request unmergeable. Please resolve the merge conflicts. |
Fixes#98444.