Skip to content

Commit 5357d54

Browse files
committed
Update test suite to nightly-2025-02-13
1 parent 5cffd62 commit 5357d54

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/common/eq.rs

+4
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ use rustc_ast::ast::TyAlias;
148148
use rustc_ast::ast::TyAliasWhereClause;
149149
use rustc_ast::ast::TyAliasWhereClauses;
150150
use rustc_ast::ast::TyKind;
151+
use rustc_ast::ast::TyPat;
152+
use rustc_ast::ast::TyPatKind;
151153
use rustc_ast::ast::UintTy;
152154
use rustc_ast::ast::UnOp;
153155
use rustc_ast::ast::UnsafeBinderCastKind;
@@ -547,6 +549,7 @@ spanless_eq_struct!(Ty; id kind span tokens);
547549
spanless_eq_struct!(TyAlias; defaultness generics where_clauses bounds ty);
548550
spanless_eq_struct!(TyAliasWhereClause; !has_where_token span);
549551
spanless_eq_struct!(TyAliasWhereClauses; before after !split);
552+
spanless_eq_struct!(TyPat; id kind span tokens);
550553
spanless_eq_struct!(UnsafeBinderTy; generic_params inner_ty);
551554
spanless_eq_struct!(UseTree; prefix kind span);
552555
spanless_eq_struct!(Variant; attrs id span !vis ident data disr_expr is_placeholder);
@@ -620,6 +623,7 @@ spanless_eq_enum!(StructRest; Base(0) Rest(0) None);
620623
spanless_eq_enum!(Term; Ty(0) Const(0));
621624
spanless_eq_enum!(TokenTree; Token(0 1) Delimited(0 1 2 3));
622625
spanless_eq_enum!(TraitObjectSyntax; Dyn DynStar None);
626+
spanless_eq_enum!(TyPatKind; Range(0 1 2) Err(0));
623627
spanless_eq_enum!(UintTy; Usize U8 U16 U32 U64 U128);
624628
spanless_eq_enum!(UnOp; Deref Not Neg);
625629
spanless_eq_enum!(UnsafeBinderCastKind; Wrap Unwrap);

0 commit comments

Comments
 (0)