Migrate rustc_lint
errors to SessionDiagnostic
#100776
Merged
rustc_lint
errors to SessionDiagnostic
#100776