Give VariantData::Struct
named fields, to clairfy recovered
.
This commit is contained in:
parent
69e4545a8d
commit
11337805fb
21 changed files with 51 additions and 40 deletions
|
@ -500,7 +500,7 @@ impl<'a> State<'a> {
|
|||
self.end();
|
||||
self.end(); // Close the outer-box.
|
||||
}
|
||||
ast::VariantData::Struct(fields, ..) => {
|
||||
ast::VariantData::Struct { fields, .. } => {
|
||||
self.print_where_clause(&generics.where_clause);
|
||||
self.print_record_struct_body(fields, span);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue