rust/compiler/rustc_span
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
..
src Rollup merge of #124542 - CBSpeir:diagnostic-item-enumerate-method, r=scottmcm 2024-05-01 20:05:26 +02:00
Cargo.toml Optimize Symbol::integer by utilizing itoa in-place formatting 2024-03-06 19:39:36 +01:00