Rename unused_tuple_struct_fields in rustfmt

Otherwise tests fail due to unknown lint and dead code warnings.
This commit is contained in:
Jake Goulding 2023-11-30 08:22:31 -05:00
parent ae760e695c
commit 4a1b4182fe

View File

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