Rollup merge of #146120 - smoelius:patch-3, r=lqd

Correct typo in `rustc_errors` comment
This commit is contained in:
Stuart Cook 2025-09-04 10:01:59 +10:00 committed by GitHub
commit 584832843d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1160,7 +1160,7 @@ impl<'a> DiagCtxtHandle<'a> {
// - It's only produce with JSON output.
// - It's not emitted the usual way, via `emit_diagnostic`.
// - The `$message_type` field is "unused_externs" rather than the usual
// "diagnosic".
// "diagnostic".
//
// We count it as a lint error because it has a lint level. The value
// of `loud` (which comes from "unused-externs" or