Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Mar 20, 2020
1 parent c62e36b commit 7b49678
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/librustc_passes/layout_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ impl ItemLikeVisitor<'tcx> for LayoutTest<'tcx> {
let item_def_id = self.tcx.hir().local_def_id(item.hir_id);

match item.kind {
ItemKind::TyAlias(..) |
ItemKind::Enum(..) |
ItemKind::Struct(..) |
ItemKind::Union(..) => {
ItemKind::TyAlias(..)
| ItemKind::Enum(..)
| ItemKind::Struct(..)
| ItemKind::Union(..) => {
for attr in self.tcx.get_attrs(item_def_id).iter() {
if attr.check_name(sym::rustc_layout) {
self.dump_layout_of(item_def_id, item, attr);
Expand Down

0 comments on commit 7b49678

Please sign in to comment.