about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/lib.rs
diff options
context:
space:
mode:
authorAlexander Cyon <alex.cyon@gmail.com>2024-09-02 07:42:38 +0200
committerAlexander Cyon <alex.cyon@gmail.com>2024-09-02 07:42:38 +0200
commitac69544a175d692dd623fb854261ca64b1b9b802 (patch)
tree8b33a587005aa8fec99e4d32a4cebb20496ad6a0 /compiler/rustc_errors/src/lib.rs
parent78d5c04d9c64a57134e6bd39090847351379e6ae (diff)
downloadrust-ac69544a175d692dd623fb854261ca64b1b9b802.tar.gz
rust-ac69544a175d692dd623fb854261ca64b1b9b802.zip
chore: Fix typos in 'compiler' (batch 1)
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 99ee8fb17d7..27f9e2249b3 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 => {