about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/attr_wrapper.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-06-19 06:26:33 +0000
committerbors <bors@rust-lang.org>2024-06-19 06:26:33 +0000
commitac4f1c41292c5b5e72e42ebdff38cb04cf9f304d (patch)
tree6ad18502b12564bac17108d771d900947abbefcb /compiler/rustc_parse/src/parser/attr_wrapper.rs
parent62ef90cf46ebe1c52b9757171a3067dcde629823 (diff)
parent3e93254d5e2efb3d2dd738833142de9274c7b191 (diff)
downloadrust-ac4f1c41292c5b5e72e42ebdff38cb04cf9f304d.tar.gz
rust-ac4f1c41292c5b5e72e42ebdff38cb04cf9f304d.zip
Auto merge of #3685 - rust-lang:rustup-2024-06-19, r=RalfJung
Automatic Rustup
Diffstat (limited to 'compiler/rustc_parse/src/parser/attr_wrapper.rs')
-rw-r--r--compiler/rustc_parse/src/parser/attr_wrapper.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/attr_wrapper.rs b/compiler/rustc_parse/src/parser/attr_wrapper.rs
index 62c8f9f5dac..f5c931034fd 100644
--- a/compiler/rustc_parse/src/parser/attr_wrapper.rs
+++ b/compiler/rustc_parse/src/parser/attr_wrapper.rs
@@ -41,7 +41,7 @@ impl AttrWrapper {
     }
 
     pub(crate) fn take_for_recovery(self, psess: &ParseSess) -> AttrVec {
-        psess.dcx.span_delayed_bug(
+        psess.dcx().span_delayed_bug(
             self.attrs.get(0).map(|attr| attr.span).unwrap_or(DUMMY_SP),
             "AttrVec is taken for recovery but no error is produced",
         );