Skip to content

Commit 48e179c

Browse files
committed
Update test suite to nightly-2025-02-06
1 parent 71f3808 commit 48e179c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/common/eq.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ use rustc_ast::ast::Extern;
4949
use rustc_ast::ast::FieldDef;
5050
use rustc_ast::ast::FloatTy;
5151
use rustc_ast::ast::Fn;
52+
use rustc_ast::ast::FnContract;
5253
use rustc_ast::ast::FnDecl;
5354
use rustc_ast::ast::FnHeader;
5455
use rustc_ast::ast::FnRetTy;
@@ -497,7 +498,8 @@ spanless_eq_struct!(EnumDef; variants);
497498
spanless_eq_struct!(Expr; id kind span attrs !tokens);
498499
spanless_eq_struct!(ExprField; attrs id span ident expr is_shorthand is_placeholder);
499500
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);
501503
spanless_eq_struct!(FnDecl; inputs output);
502504
spanless_eq_struct!(FnHeader; constness coroutine_kind safety ext);
503505
spanless_eq_struct!(FnSig; header decl span);

0 commit comments

Comments
 (0)