mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
c479b3bc28
This commit removes the logic in this PR that linted out-of-bounds constant `usize` indexing on arrays. That case is already handled by rustc's `const_err` lint. Beyond removing the linting logic, the test file and its associated stderr were updated to verify that const `usize` indexing operations on arrays are no longer handled by this `indexing_slicing` lint. |
||
---|---|---|
.. | ||
auxiliary | ||
run-pass | ||
ui | ||
ui-toml | ||
camel_case.rs | ||
compile-test.rs | ||
dogfood.rs | ||
matches.rs | ||
needless_continue_helpers.rs | ||
trim_multiline.rs | ||
versioncheck.rs | ||
without_block_comments.rs |