about summary refs log tree commit diff
path: root/compiler/rustc_errors
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-09-04 10:01:59 +1000
committerGitHub <noreply@github.com>2025-09-04 10:01:59 +1000
commit584832843db7b5bcfbdc2e9219ee5bf4d19f6e20 (patch)
tree16f86ce98088addf7753b01d6fb2e577bc59b3ef /compiler/rustc_errors
parent6f490f7ae126dbbff8b41cb39fb340efcb2c922b (diff)
parent5e9b655e7094295ba4ce40568d8f182aef3704fc (diff)
downloadrust-584832843db7b5bcfbdc2e9219ee5bf4d19f6e20.tar.gz
rust-584832843db7b5bcfbdc2e9219ee5bf4d19f6e20.zip
Rollup merge of #146120 - smoelius:patch-3, r=lqd
Correct typo in `rustc_errors` comment
Diffstat (limited to 'compiler/rustc_errors')
-rw-r--r--compiler/rustc_errors/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs
index 71fc54f0d33..a56e0f3fae1 100644
--- a/compiler/rustc_errors/src/lib.rs
+++ b/compiler/rustc_errors/src/lib.rs
@@ -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