Code refactoring smart_resolve_report_errors `smart_resolve_report_errors` 4ecfdfac51/compiler/rustc_resolve/src/late/diagnostics.rs (L143) is almost 600 lines of code, we should do some code refactoring.
4ecfdfac51/compiler/rustc_resolve/src/late/diagnostics.rs (L143)
smallvec