Skip to content

Commit

Permalink
Rename unused_tuple_struct_fields in rustfmt
Browse files Browse the repository at this point in the history
Otherwise tests fail due to unknown lint and dead code warnings.
  • Loading branch information
shepmaster committed Jan 2, 2024
1 parent 10f4023 commit 26194a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/rustfmt/src/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit 26194a3

Please sign in to comment.