mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Address unused tuple struct fields in rustfmt
This commit is contained in:
parent
c4c7c76729
commit
2f6fc05186
@ -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,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user