mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 17:26:12 +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.