mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 08:56:00 +00:00
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.