From 018fc5a6298491525387910cb359a9ec618abe54 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 26 Feb 2024 20:23:48 -0800 Subject: [PATCH] Update test suite to nightly-2024-02-27 --- tests/common/eq.rs | 2 +- tests/test_precedence.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/common/eq.rs b/tests/common/eq.rs index 30ab9a197e..e96730d344 100644 --- a/tests/common/eq.rs +++ b/tests/common/eq.rs @@ -605,7 +605,7 @@ spanless_eq_enum!(ExprKind; Array(0) ConstBlock(0) Call(0 1) MethodCall(0) Assign(0 1 2) AssignOp(0 1 2) Field(0 1) Index(0 1 2) Underscore Range(0 1 2) Path(0 1) AddrOf(0 1 2) Break(0 1) Continue(0) Ret(0) InlineAsm(0) OffsetOf(0 1) MacCall(0) Struct(0) Repeat(0 1) Paren(0) Try(0) - Yield(0) Yeet(0) Become(0) IncludedBytes(0) FormatArgs(0) Err); + Yield(0) Yeet(0) Become(0) IncludedBytes(0) FormatArgs(0) Err(0) Dummy); spanless_eq_enum!(InlineAsmOperand; In(reg expr) Out(reg late expr) InOut(reg late expr) SplitInOut(reg late in_expr out_expr) Const(anon_const) Sym(sym)); diff --git a/tests/test_precedence.rs b/tests/test_precedence.rs index 026bece505..1dc28ad2ac 100644 --- a/tests/test_precedence.rs +++ b/tests/test_precedence.rs @@ -278,7 +278,7 @@ fn librustc_parenthesize(mut librustc_expr: P) -> P { e, P(Expr { id: ast::DUMMY_NODE_ID, - kind: ExprKind::Err, + kind: ExprKind::Dummy, span: DUMMY_SP, attrs: ThinVec::new(), tokens: None,