dev: Enable `impl-trait-overcaptures` 2024 transition lint (#9965)
Pre-release
Pre-release
* Enable `impl-trait-overcaptures` 2024 transition lint This lint detects cases where returning `impl Trait` will work differently in 2024 than in the current 2021 edition. Ambiguities are resolved with `use<..>` syntax stabilized in Rust 1.82.0 to mean the same thing in both editions. * Fix some more `impl Trait` returns * Tighten bounds on settings `iter` * Fix build on 1.82.0 * Fix another capture on MSRV