Skip to content

Commit 193f52e

Browse files
committed
Update test suite to nightly-2025-11-10
1 parent 5ece7e1 commit 193f52e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/common/eq.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ use rustc_ast::ast::Closure;
3535
use rustc_ast::ast::ClosureBinder;
3636
use rustc_ast::ast::Const;
3737
use rustc_ast::ast::ConstItem;
38+
use rustc_ast::ast::ConstItemRhs;
3839
use rustc_ast::ast::CoroutineKind;
3940
use rustc_ast::ast::Crate;
4041
use rustc_ast::ast::Defaultness;
@@ -485,7 +486,7 @@ spanless_eq_struct!(AttrsTarget; attrs tokens);
485486
spanless_eq_struct!(BindingMode; 0 1);
486487
spanless_eq_struct!(Block; stmts id rules span tokens);
487488
spanless_eq_struct!(Closure; binder capture_clause constness coroutine_kind movability fn_decl body !fn_decl_span !fn_arg_span);
488-
spanless_eq_struct!(ConstItem; defaultness ident generics ty expr define_opaque);
489+
spanless_eq_struct!(ConstItem; defaultness ident generics ty rhs define_opaque);
489490
spanless_eq_struct!(Crate; attrs items spans id is_placeholder);
490491
spanless_eq_struct!(Delegation; id qself path ident rename body from_glob);
491492
spanless_eq_struct!(DelegationMac; qself prefix suffixes body);
@@ -572,6 +573,7 @@ spanless_eq_enum!(ByRef; Yes(0 1) No);
572573
spanless_eq_enum!(CaptureBy; Value(move_kw) Ref Use(use_kw));
573574
spanless_eq_enum!(ClosureBinder; NotPresent For(span generic_params));
574575
spanless_eq_enum!(Const; Yes(0) No);
576+
spanless_eq_enum!(ConstItemRhs; TypeConst(0) Body(0));
575577
spanless_eq_enum!(Defaultness; Default(0) Final);
576578
spanless_eq_enum!(Extern; None Implicit(0) Explicit(0 1));
577579
spanless_eq_enum!(FloatTy; F16 F32 F64 F128);

0 commit comments

Comments
 (0)