mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-07 12:47:29 +00:00

fix(suggestion): insert projection to associated types Fixes #98562 This PR has fixed some help suggestions for unsupported syntax, such as `fn f<T>(_:T) where T: IntoIterator, std::iter::IntoIterator::Item = () {}` to `fn f<T: IntoIterator<Item = ()>>(_T) {}`.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.