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
This commit is contained in:
commit
38cbad9d26
2 changed files with 2 additions and 0 deletions
|
@ -754,6 +754,7 @@ symbols! {
|
|||
enable,
|
||||
encode,
|
||||
end,
|
||||
enumerate_method,
|
||||
env,
|
||||
env_CFG_RELEASE: env!("CFG_RELEASE"),
|
||||
eprint_macro,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue