File tree 1 file changed +3
-1
lines changed 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ use rustc_ast::ast::Extern;
49
49
use rustc_ast:: ast:: FieldDef ;
50
50
use rustc_ast:: ast:: FloatTy ;
51
51
use rustc_ast:: ast:: Fn ;
52
+ use rustc_ast:: ast:: FnContract ;
52
53
use rustc_ast:: ast:: FnDecl ;
53
54
use rustc_ast:: ast:: FnHeader ;
54
55
use rustc_ast:: ast:: FnRetTy ;
@@ -497,7 +498,8 @@ spanless_eq_struct!(EnumDef; variants);
497
498
spanless_eq_struct ! ( Expr ; id kind span attrs !tokens) ;
498
499
spanless_eq_struct ! ( ExprField ; attrs id span ident expr is_shorthand is_placeholder) ;
499
500
spanless_eq_struct ! ( FieldDef ; attrs id span vis safety ident ty default is_placeholder) ;
500
- spanless_eq_struct ! ( Fn ; defaultness generics sig body) ;
501
+ spanless_eq_struct ! ( Fn ; defaultness generics sig contract body) ;
502
+ spanless_eq_struct ! ( FnContract ; requires ensures) ;
501
503
spanless_eq_struct ! ( FnDecl ; inputs output) ;
502
504
spanless_eq_struct ! ( FnHeader ; constness coroutine_kind safety ext) ;
503
505
spanless_eq_struct ! ( FnSig ; header decl span) ;
You can’t perform that action at this time.
0 commit comments