mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 12:36:35 +03:00
e7281d08de
diagnostics: use rustc_on_unimplemented to recommend `[].iter()` To make this work, the `#[rustc_on_unimplemented]` data needs to be used to report method resolution errors, which is most of what this commit does. Fixes #94581
For more information about how rustc works, see the rustc dev guide.