Skip to content

Commit 2f6fc05

Browse files
committed
Address unused tuple struct fields in rustfmt
1 parent c4c7c76 commit 2f6fc05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/rustfmt/src/expr.rs

Lines changed: 1 addition & 1 deletion
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, Span),
1950+
Expr(&'ast ast::ExprKind, #[allow(unused_tuple_struct_fields)] Span),
19511951
Bounds,
19521952
Ty,
19531953
}

0 commit comments

Comments
 (0)