Skip to content

Commit 26194a3

Browse files
committed
Rename unused_tuple_struct_fields in rustfmt
Otherwise tests fail due to unknown lint and dead code warnings.
1 parent 10f4023 commit 26194a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/rustfmt/src/expr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1947,7 +1947,7 @@ fn rewrite_unary_op(
19471947
}
19481948

19491949
pub(crate) enum RhsAssignKind<'ast> {
1950-
Expr(&'ast ast::ExprKind, #[allow(unused_tuple_struct_fields)] Span),
1950+
Expr(&'ast ast::ExprKind, #[allow(dead_code)] Span),
19511951
Bounds,
19521952
Ty,
19531953
}

0 commit comments

Comments
 (0)