Skip to content

Commit

Permalink
Update test suite to nightly-2024-02-17
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Feb 17, 2024
1 parent 38956e6 commit d4b499e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/common/eq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -618,8 +618,8 @@ spanless_eq_enum!(PatKind; Wild Ident(0 1 2) Struct(0 1 2 3) TupleStruct(0 1 2)
Never Paren(0) MacCall(0) Err(0));
spanless_eq_enum!(TyKind; Slice(0) Array(0 1) Ptr(0) Ref(0 1) BareFn(0) Never
Tup(0) AnonStruct(0 1) AnonUnion(0 1) Path(0 1) TraitObject(0 1)
ImplTrait(0 1) Paren(0) Typeof(0) Infer ImplicitSelf MacCall(0) Err
CVarArgs);
ImplTrait(0 1) Paren(0) Typeof(0) Infer ImplicitSelf MacCall(0) CVarArgs
Dummy Err(0));

impl SpanlessEq for Ident {
fn eq(&self, other: &Self) -> bool {
Expand Down Expand Up @@ -655,8 +655,8 @@ impl SpanlessEq for Param {
} = other;
SpanlessEq::eq(id, id2)
&& SpanlessEq::eq(is_placeholder, is_placeholder2)
&& (matches!(ty.kind, TyKind::Err)
|| matches!(ty2.kind, TyKind::Err)
&& (matches!(ty.kind, TyKind::Err(_))
|| matches!(ty2.kind, TyKind::Err(_))
|| SpanlessEq::eq(attrs, attrs2)
&& SpanlessEq::eq(ty, ty2)
&& SpanlessEq::eq(pat, pat2))
Expand Down

0 comments on commit d4b499e

Please sign in to comment.