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