about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/lib.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-09-02 22:35:20 +0200
committerGitHub <noreply@github.com>2024-09-02 22:35:20 +0200
commitcfb12716e903df2e55ed20e1b82baae84fb866d1 (patch)
tree8f1dcd6eb15bf99b0da0400f7f855418bea739f5 /compiler/rustc_errors/src/lib.rs
parent912931d64a4e71954ad2dd331ec9ca605288266f (diff)
parentac69544a175d692dd623fb854261ca64b1b9b802 (diff)
downloadrust-cfb12716e903df2e55ed20e1b82baae84fb866d1.tar.gz
rust-cfb12716e903df2e55ed20e1b82baae84fb866d1.zip
Rollup merge of #129875 - Sajjon:sajjon_fix_typos_batch_1, r=compiler-errors,jieyouxu
chore: Fix typos in 'compiler' (batch 1)

Batch 1/3: Fixes typos in `compiler`

(See [issue](https://github.com/rust-lang/rust/issues/129874) tracking all PRs with typos fixes)
Diffstat (limited to 'compiler/rustc_errors/src/lib.rs')
-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 e08d28a156c..02ead41fc68 100644
--- a/compiler/rustc_errors/src/lib.rs
+++ b/compiler/rustc_errors/src/lib.rs
@@ -817,7 +817,7 @@ impl<'a> DiagCtxtHandle<'a> {
                 );
             }
             // We delay a bug here so that `-Ztreat-err-as-bug -Zeagerly-emit-delayed-bugs`
-            // can be used to create a backtrace at the stashing site insted of whenever the
+            // can be used to create a backtrace at the stashing site instead of whenever the
             // diagnostic context is dropped and thus delayed bugs are emitted.
             Error => Some(self.span_delayed_bug(span, format!("stashing {key:?}"))),
             DelayedBug => {