about summary refs log tree commit diff
path: root/compiler/rustc_errors
diff options
context:
space:
mode:
authorSamuel Moelius <35515885+smoelius@users.noreply.github.com>2025-09-02 08:43:34 -0400
committerGitHub <noreply@github.com>2025-09-02 08:43:34 -0400
commit5e9b655e7094295ba4ce40568d8f182aef3704fc (patch)
treee45a39132b4d2ea6e902a75d23876b0dde88ebc0 /compiler/rustc_errors
parent05abce5d058db0de3abd10f32f1a442d0f699b30 (diff)
downloadrust-5e9b655e7094295ba4ce40568d8f182aef3704fc.tar.gz
rust-5e9b655e7094295ba4ce40568d8f182aef3704fc.zip
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