Skip to content

Commit 3299752

Browse files
authored
Rollup merge of rust-lang#146120 - smoelius:patch-3, r=lqd
Correct typo in `rustc_errors` comment
2 parents 549ba12 + 5e9b655 commit 3299752

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_errors/src

1 file changed

+1
-1
lines changed

compiler/rustc_errors/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ impl<'a> DiagCtxtHandle<'a> {
11601160
// - It's only produce with JSON output.
11611161
// - It's not emitted the usual way, via `emit_diagnostic`.
11621162
// - The `$message_type` field is "unused_externs" rather than the usual
1163-
// "diagnosic".
1163+
// "diagnostic".
11641164
//
11651165
// We count it as a lint error because it has a lint level. The value
11661166
// of `loud` (which comes from "unused-externs" or

0 commit comments

Comments
 (0)