mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 23:20:39 +00:00
967f172e25
Fix bug introduced by #9386 #9386 introduced a potential out-of-bounds array access. Specifically, a location returned by `local_assignments` could have [`location.statement_index` equal to `mir.basic_blocks[location.block].statements.len()`]( |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |