diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-11-30 15:57:21 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-12-02 09:01:34 +1100 |
| commit | 2c337a072ca57a1707d88b0bfcfe6a3433fb6daf (patch) | |
| tree | bc88516e25c43ae1d3a9e7ecda133503b2f52334 /compiler/rustc_session | |
| parent | 5d1d3844430923395d38159c8979e587a1ca2879 (diff) | |
| download | rust-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.rs | 4 |
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() |
