mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
a5aa52c23a
Special case iterator chain checks for suggestion When encountering method call chains of `Iterator`, check for trailing `;` in the body of closures passed into `Iterator::map`, as well as calls to `<T as Clone>::clone` when `T` is a type param and `T: !Clone`. Fix #9082.