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 10f4023192
commit 26194a3ffa

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,
}