about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-07-20 06:05:35 +0000
committerGitHub <noreply@github.com>2025-07-20 06:05:35 +0000
commitc9f96487ceb4fa156cea42b4f9aaa368924adbf1 (patch)
treef13dfba697a518dcfb1b15150736c73eb4b04b03 /compiler/rustc_errors/src
parent627c031ce765934667e564fe3baf5c511ff1237a (diff)
parentc3175802c51fceae995640b1c1e50b648834f9af (diff)
downloadrust-c9f96487ceb4fa156cea42b4f9aaa368924adbf1.tar.gz
rust-c9f96487ceb4fa156cea42b4f9aaa368924adbf1.zip
Merge pull request #4485 from rust-lang/rustup-2025-07-20
Automatic Rustup
Diffstat (limited to 'compiler/rustc_errors/src')
-rw-r--r--compiler/rustc_errors/src/diagnostic.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/diagnostic.rs b/compiler/rustc_errors/src/diagnostic.rs
index a128f8d31a1..96c7ba6ed27 100644
--- a/compiler/rustc_errors/src/diagnostic.rs
+++ b/compiler/rustc_errors/src/diagnostic.rs
@@ -1421,7 +1421,7 @@ impl<'a, G: EmissionGuarantee> Diag<'a, G> {
     ///
     /// See `emit` and `delay_as_bug` for details.
     #[track_caller]
-    pub fn emit_unless(mut self, delay: bool) -> G::EmitResult {
+    pub fn emit_unless_delay(mut self, delay: bool) -> G::EmitResult {
         if delay {
             self.downgrade_to_delayed_bug();
         }