Skip to content

Commit

Permalink
cg_clif: just ignore all the unused LayoutS fields
Browse files Browse the repository at this point in the history
  • Loading branch information
erikdesjardins committed Jul 10, 2023
1 parent 6f16da3 commit 388a6b5
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/abi/comments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,7 @@ pub(super) fn add_local_place_comments<'tcx>(
return;
}
let TyAndLayout { ty, layout } = place.layout();
let rustc_target::abi::LayoutS {
size,
align,
repr_align: _,
abi: _,
variants: _,
fields: _,
largest_niche: _,
} = layout.0.0;
let rustc_target::abi::LayoutS { size, align, .. } = layout.0.0;

let (kind, extra) = place.debug_comment();

Expand Down

0 comments on commit 388a6b5

Please sign in to comment.