about summary refs log tree commit diff
path: root/compiler/rustc_session
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-11-30 15:57:21 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-12-02 09:01:34 +1100
commit2c337a072ca57a1707d88b0bfcfe6a3433fb6daf (patch)
treebc88516e25c43ae1d3a9e7ecda133503b2f52334 /compiler/rustc_session
parent5d1d3844430923395d38159c8979e587a1ca2879 (diff)
downloadrust-2c337a072ca57a1707d88b0bfcfe6a3433fb6daf.tar.gz
rust-2c337a072ca57a1707d88b0bfcfe6a3433fb6daf.zip
Rename `HandlerInner::delayed_span_bugs` as `HandlerInner::span_delayed_bugs`.
For reasons similar to the previous commit.
Diffstat (limited to 'compiler/rustc_session')
-rw-r--r--compiler/rustc_session/src/session.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_session/src/session.rs b/compiler/rustc_session/src/session.rs
index 88df11a21b6..da044a98fed 100644
--- a/compiler/rustc_session/src/session.rs
+++ b/compiler/rustc_session/src/session.rs
@@ -551,8 +551,8 @@ impl Session {
     pub fn has_errors(&self) -> Option<ErrorGuaranteed> {
         self.diagnostic().has_errors()
     }
-    pub fn has_errors_or_delayed_span_bugs(&self) -> Option<ErrorGuaranteed> {
-        self.diagnostic().has_errors_or_delayed_span_bugs()
+    pub fn has_errors_or_span_delayed_bugs(&self) -> Option<ErrorGuaranteed> {
+        self.diagnostic().has_errors_or_span_delayed_bugs()
     }
     pub fn is_compilation_going_to_fail(&self) -> Option<ErrorGuaranteed> {
         self.diagnostic().is_compilation_going_to_fail()