Address unused tuple struct fields in rustfmt

This commit is contained in:
Jake Goulding 2023-11-29 15:39:20 -05:00
parent f002221a53
commit ae760e695c

View File

@ -1947,7 +1947,7 @@ fn rewrite_unary_op(
} }
pub(crate) enum RhsAssignKind<'ast> { pub(crate) enum RhsAssignKind<'ast> {
Expr(&'ast ast::ExprKind, Span), Expr(&'ast ast::ExprKind, #[allow(unused_tuple_struct_fields)] Span),
Bounds, Bounds,
Ty, Ty,
} }