mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
6d23ee8430
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.