diff options
| author | Jake Goulding <jake.goulding@gmail.com> | 2023-11-29 15:39:20 -0500 |
|---|---|---|
| committer | Jake Goulding <jake.goulding@gmail.com> | 2024-01-01 17:47:54 -0500 |
| commit | 2f6fc0518609ab08aaa14c6bfda608052056bb6b (patch) | |
| tree | 1786efb3a7e6339bf83dd56a4f22844357400372 | |
| parent | c4c7c76729ad5a20a017ea502128a42ab28d8c6a (diff) | |
| download | rust-2f6fc0518609ab08aaa14c6bfda608052056bb6b.tar.gz rust-2f6fc0518609ab08aaa14c6bfda608052056bb6b.zip | |
Address unused tuple struct fields in rustfmt
| -rw-r--r-- | src/tools/rustfmt/src/expr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rustfmt/src/expr.rs b/src/tools/rustfmt/src/expr.rs index 7808f891336..8dead8f078d 100644 --- a/src/tools/rustfmt/src/expr.rs +++ b/src/tools/rustfmt/src/expr.rs @@ -1947,7 +1947,7 @@ fn rewrite_unary_op( } pub(crate) enum RhsAssignKind<'ast> { - Expr(&'ast ast::ExprKind, Span), + Expr(&'ast ast::ExprKind, #[allow(unused_tuple_struct_fields)] Span), Bounds, Ty, } |
