Skip to content

Commit

Permalink
Update test suite to nightly-2023-11-25
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Nov 25, 2023
1 parent 19fe4fe commit e2b51cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/common/eq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ spanless_eq_enum!(StrStyle; Cooked Raw(0));
spanless_eq_enum!(StructRest; Base(0) Rest(0) None);
spanless_eq_enum!(Term; Ty(0) Const(0));
spanless_eq_enum!(TokenTree; Token(0 1) Delimited(0 1 2));
spanless_eq_enum!(TraitBoundModifier; None Negative Maybe MaybeConst MaybeConstNegative MaybeConstMaybe);
spanless_eq_enum!(TraitBoundModifier; None Negative Maybe MaybeConst(0) MaybeConstNegative MaybeConstMaybe);
spanless_eq_enum!(TraitObjectSyntax; Dyn DynStar None);
spanless_eq_enum!(UintTy; Usize U8 U16 U32 U64 U128);
spanless_eq_enum!(UnOp; Deref Not Neg);
Expand Down
2 changes: 1 addition & 1 deletion tests/test_precedence.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ fn librustc_brackets(mut librustc_expr: P<ast::Expr>) -> Option<P<ast::Expr>> {
match bound {
GenericBound::Trait(
_,
TraitBoundModifier::MaybeConst | TraitBoundModifier::MaybeConstMaybe,
TraitBoundModifier::MaybeConst(_) | TraitBoundModifier::MaybeConstMaybe,
) => {}
_ => noop_visit_param_bound(bound, self),
}
Expand Down

0 comments on commit e2b51cb

Please sign in to comment.