cg_clif: just ignore all the unused LayoutS fields
This commit is contained in:
parent
6f16da3ee7
commit
388a6b5835
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user