Skip to content

Commit

Permalink
Change pprinting of Struct { .. } to be base: { defaulted fields }
Browse files Browse the repository at this point in the history
  • Loading branch information
estebank committed Dec 7, 2024
1 parent c444bbf commit e23a0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_mir_build/src/thir/print.rs
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ impl<'a, 'tcx> ThirPrinter<'a, 'tcx> {
self.print_fru_info(base, depth_lvl + 2);
}
AdtExprBase::DefaultFields(_) => {
print_indented!(self, "base: defaults", depth_lvl + 1);
print_indented!(self, "base: {{ defaulted fields }}", depth_lvl + 1);
}
AdtExprBase::None => {
print_indented!(self, "base: None", depth_lvl + 1);
Expand Down

0 comments on commit e23a0cb

Please sign in to comment.