about summary refs log tree commit diff
path: root/compiler/rustc_attr_data_structures/src/lib.rs
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2025-07-16 22:39:04 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2025-07-17 23:27:19 +0000
commit83255f57e09694f68b5df6713de46de7894d469b (patch)
treebc0f9c0a3be564197bfe21711a49c6bd18145dde /compiler/rustc_attr_data_structures/src/lib.rs
parent439803deada83319f685cfd1156ef847ed127742 (diff)
downloadrust-83255f57e09694f68b5df6713de46de7894d469b.tar.gz
rust-83255f57e09694f68b5df6713de46de7894d469b.zip
Include ErrorGuaranteed in StableSince::Err.
Diffstat (limited to 'compiler/rustc_attr_data_structures/src/lib.rs')
-rw-r--r--compiler/rustc_attr_data_structures/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_attr_data_structures/src/lib.rs b/compiler/rustc_attr_data_structures/src/lib.rs
index 8f8ce575a18..ecca0e39063 100644
--- a/compiler/rustc_attr_data_structures/src/lib.rs
+++ b/compiler/rustc_attr_data_structures/src/lib.rs
@@ -24,7 +24,7 @@ use rustc_ast::token::CommentKind;
 use rustc_ast::{AttrStyle, IntTy, UintTy};
 use rustc_ast_pretty::pp::Printer;
 use rustc_span::hygiene::Transparency;
-use rustc_span::{Span, Symbol};
+use rustc_span::{ErrorGuaranteed, Span, Symbol};
 pub use stability::*;
 use thin_vec::ThinVec;
 pub use version::*;
@@ -170,7 +170,7 @@ macro_rules! print_tup {
 }
 
 print_tup!(A B C D E F G H);
-print_skip!(Span, ());
+print_skip!(Span, (), ErrorGuaranteed);
 print_disp!(u16, bool, NonZero<u32>);
 print_debug!(Symbol, UintTy, IntTy, Align, AttrStyle, CommentKind, Transparency);