Skip to content

Commit d4b499e

Browse files
committed
Update test suite to nightly-2024-02-17
1 parent 38956e6 commit d4b499e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/common/eq.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -618,8 +618,8 @@ spanless_eq_enum!(PatKind; Wild Ident(0 1 2) Struct(0 1 2 3) TupleStruct(0 1 2)
618618
Never Paren(0) MacCall(0) Err(0));
619619
spanless_eq_enum!(TyKind; Slice(0) Array(0 1) Ptr(0) Ref(0 1) BareFn(0) Never
620620
Tup(0) AnonStruct(0 1) AnonUnion(0 1) Path(0 1) TraitObject(0 1)
621-
ImplTrait(0 1) Paren(0) Typeof(0) Infer ImplicitSelf MacCall(0) Err
622-
CVarArgs);
621+
ImplTrait(0 1) Paren(0) Typeof(0) Infer ImplicitSelf MacCall(0) CVarArgs
622+
Dummy Err(0));
623623

624624
impl SpanlessEq for Ident {
625625
fn eq(&self, other: &Self) -> bool {
@@ -655,8 +655,8 @@ impl SpanlessEq for Param {
655655
} = other;
656656
SpanlessEq::eq(id, id2)
657657
&& SpanlessEq::eq(is_placeholder, is_placeholder2)
658-
&& (matches!(ty.kind, TyKind::Err)
659-
|| matches!(ty2.kind, TyKind::Err)
658+
&& (matches!(ty.kind, TyKind::Err(_))
659+
|| matches!(ty2.kind, TyKind::Err(_))
660660
|| SpanlessEq::eq(attrs, attrs2)
661661
&& SpanlessEq::eq(ty, ty2)
662662
&& SpanlessEq::eq(pat, pat2))

0 commit comments

Comments
 (0)