Skip to content

Commit 9e8033f

Browse files
committed
Update test suite to nightly-2024-02-07
1 parent cb3348c commit 9e8033f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/common/eq.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ use rustc_ast::ast::BindingAnnotation;
2626
use rustc_ast::ast::Block;
2727
use rustc_ast::ast::BlockCheckMode;
2828
use rustc_ast::ast::BorrowKind;
29+
use rustc_ast::ast::BoundAsyncness;
2930
use rustc_ast::ast::BoundConstness;
3031
use rustc_ast::ast::BoundPolarity;
3132
use rustc_ast::ast::ByRef;
@@ -514,7 +515,7 @@ spanless_eq_struct!(StrLit; symbol suffix symbol_unescaped style span);
514515
spanless_eq_struct!(StructExpr; qself path fields rest);
515516
spanless_eq_struct!(Token; kind span);
516517
spanless_eq_struct!(Trait; unsafety is_auto generics bounds items);
517-
spanless_eq_struct!(TraitBoundModifiers; constness polarity);
518+
spanless_eq_struct!(TraitBoundModifiers; constness asyncness polarity);
518519
spanless_eq_struct!(TraitRef; path ref_id);
519520
spanless_eq_struct!(Ty; id kind span tokens);
520521
spanless_eq_struct!(TyAlias; defaultness generics where_clauses !where_predicates_split bounds ty);
@@ -536,6 +537,7 @@ spanless_eq_enum!(AttrTokenTree; Token(0 1) Delimited(0 1 2 3) Attributes(0));
536537
spanless_eq_enum!(BinOpKind; Add Sub Mul Div Rem And Or BitXor BitAnd BitOr Shl Shr Eq Lt Le Ne Ge Gt);
537538
spanless_eq_enum!(BlockCheckMode; Default Unsafe(0));
538539
spanless_eq_enum!(BorrowKind; Ref Raw);
540+
spanless_eq_enum!(BoundAsyncness; Normal Async(0));
539541
spanless_eq_enum!(BoundConstness; Never Always(0) Maybe(0));
540542
spanless_eq_enum!(BoundPolarity; Positive Negative(0) Maybe(0));
541543
spanless_eq_enum!(ByRef; Yes No);

0 commit comments

Comments
 (0)