rust/library/coretests
Chris Denton 92adbd323a
Rollup merge of #139533 - jogru0:130711, r=Mark-Simulacrum
add next_index to Enumerate

Proposal: https://github.com/rust-lang/libs-team/issues/435
Tracking Issue: #130711

This basically just reopens #130682 but squashed and with the new function and the feature gate renamed to `next_index.`

There are two questions I have already:
- Shouldn't we add test coverage for that? I'm happy to provide some, but I might need a pointer to where these test would be.
  - Maybe I could actually also add a doctest?
- For now, I just renamed the feature name in the unstable attribute to `next_index`, as well, so it matches the new name of the function. Is that okay? And can I just do that and use any string, or is there a sealed list of features defined somewhere where I also need to change the name?
2025-04-19 19:30:47 +00:00
..
benches library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00
tests Rollup merge of #139533 - jogru0:130711, r=Mark-Simulacrum 2025-04-19 19:30:47 +00:00
Cargo.toml Run coretests and alloctests with cg_clif in CI 2025-04-03 12:07:14 +00:00
lib.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00