mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
791a53f380
Reorder check_item_type diagnostics so they occur next to the corresponding `check_well_formed` diagnostics The first commit is just a cleanup. The second commit moves most checks from `check_mod_item_types` into `check_well_formed`, invoking the checks in lockstep per-item instead of iterating over all items twice.