diff options
| author | Jake Goulding <jake.goulding@gmail.com> | 2023-11-30 08:22:31 -0500 |
|---|---|---|
| committer | Jake Goulding <jake.goulding@gmail.com> | 2024-01-02 15:34:37 -0500 |
| commit | 26194a3ffaf14b86e78ddcd0f2f88c609624d14b (patch) | |
| tree | 038cbdc5c740247555d0235a7ca13bee1f34c7fb /src | |
| parent | 10f40231924b0b1046c63b22fee98b1ca5a3a188 (diff) | |
| download | rust-26194a3ffaf14b86e78ddcd0f2f88c609624d14b.tar.gz rust-26194a3ffaf14b86e78ddcd0f2f88c609624d14b.zip | |
Rename `unused_tuple_struct_fields` in rustfmt
Otherwise tests fail due to unknown lint and dead code warnings.
Diffstat (limited to 'src')
| -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 8dead8f078d..4b86c2acdc5 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, #[allow(unused_tuple_struct_fields)] Span), + Expr(&'ast ast::ExprKind, #[allow(dead_code)] Span), Bounds, Ty, } |
