New undocumented `panic!` in Rust 1.92.0?
⚓ Rust 📅 2025-12-11 👤 surdeus 👁️ 3I posted this message in the https://internals.rust-lang.org forum, could somebody confirm (or not) the problem? Rust 1.92.0 pre-release testing - #6 by tdelmas - announcements - Rust Internals
iter::Repeat::lastandcountwill now panic, rather than looping infinitely.It seems they added a
panic!forlastwithout documenting it, or am I missing it? (countdoes document thepanic!inIterator: Iterator in std::iter - Rust)
lastin Iterator in std::iter - Rustlastin Repeat in std::iter - Rust
1 post - 1 participant
🏷️ Rust_feed