rust/library/core
Matthias Krüger 38cbad9d26
Rollup merge of #124542 - CBSpeir:diagnostic-item-enumerate-method, r=scottmcm
Add diagnostic item for `std::iter::Iterator::enumerate`

Adds a diagnostic item for the `std::iter:Iterator::enumerate` trait method. This change, along with PR https://github.com/rust-lang/rust/pull/124308, will be used by the clippy `unused_enumerate_index` lint to move away from paths to using diagnostic items.

see: https://github.com/rust-lang/rust-clippy/issues/5393
2024-05-01 20:05:26 +02:00
..
benches Rollup merge of #115913 - FedericoStra:checked_ilog, r=the8472 2024-04-22 20:25:58 +02:00
src Rollup merge of #124542 - CBSpeir:diagnostic-item-enumerate-method, r=scottmcm 2024-05-01 20:05:26 +02:00
tests Auto merge of #123909 - dtolnay:utf8chunks, r=joboet 2024-04-26 17:41:24 +00:00
Cargo.toml