NewsCrawler.org

Rust 1.100.1 fixes a regression in Iterator type inference

What happened next

  1. rust-analyzer changelog #356: performance and internal fixes

The Rust team has published Rust 1.100.1, a point release[1] of the programming language. It fixes a regression[2] where some types with valid Iterator implementations were not recognized as implementing Iterator. The problem came from a change to the unstable const version of Iterator in Rust 1.100.0, which was reverted because stable code cannot use that version. Users with Rust installed via rustup[3] can run `rustup update stable`, and testers can switch to the beta or nightly channel and report bugs.

Repository Rust github.com

Rust is an open source programming language focused on building reliable and efficient software, with a compiler and standard library.

Stars: 120,000Forks: 16,000License: Apache-2.0Updated:

Read the original blog.rust-lang.orgDiscussion

Discussion

Commenters welcome the prospect of const iterators. One notes that this fix is less serious than recent .1 releases that addressed a miscompilation[4], but expects the risk of such releases to stay high while the new trait solver and borrow checker stabilize. Another asks whether patch releases need more quality control.

Sources

Earlier in this story

  1. rust-analyzer changelog #355: inlay hints for iterator adapters, performance and bug fixes

The whole story · 3 →

Published: First seen: Читать по-русски

Open as a page