@@ -26,6 +26,7 @@ use rustc_ast::ast::BindingAnnotation;
26
26
use rustc_ast:: ast:: Block ;
27
27
use rustc_ast:: ast:: BlockCheckMode ;
28
28
use rustc_ast:: ast:: BorrowKind ;
29
+ use rustc_ast:: ast:: BoundAsyncness ;
29
30
use rustc_ast:: ast:: BoundConstness ;
30
31
use rustc_ast:: ast:: BoundPolarity ;
31
32
use rustc_ast:: ast:: ByRef ;
@@ -514,7 +515,7 @@ spanless_eq_struct!(StrLit; symbol suffix symbol_unescaped style span);
514
515
spanless_eq_struct ! ( StructExpr ; qself path fields rest) ;
515
516
spanless_eq_struct ! ( Token ; kind span) ;
516
517
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) ;
518
519
spanless_eq_struct ! ( TraitRef ; path ref_id) ;
519
520
spanless_eq_struct ! ( Ty ; id kind span tokens) ;
520
521
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));
536
537
spanless_eq_enum ! ( BinOpKind ; Add Sub Mul Div Rem And Or BitXor BitAnd BitOr Shl Shr Eq Lt Le Ne Ge Gt ) ;
537
538
spanless_eq_enum ! ( BlockCheckMode ; Default Unsafe ( 0 ) ) ;
538
539
spanless_eq_enum ! ( BorrowKind ; Ref Raw ) ;
540
+ spanless_eq_enum ! ( BoundAsyncness ; Normal Async ( 0 ) ) ;
539
541
spanless_eq_enum ! ( BoundConstness ; Never Always ( 0 ) Maybe ( 0 ) ) ;
540
542
spanless_eq_enum ! ( BoundPolarity ; Positive Negative ( 0 ) Maybe ( 0 ) ) ;
541
543
spanless_eq_enum ! ( ByRef ; Yes No ) ;
0 commit comments