cg_clif: just ignore all the unused LayoutS fields
This commit is contained in:
parent
d1e764cb3b
commit
c858d345b3
1 changed files with 1 additions and 9 deletions
|
@ -80,15 +80,7 @@ pub(super) fn add_local_place_comments<'tcx>(
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let TyAndLayout { ty, layout } = place.layout();
|
let TyAndLayout { ty, layout } = place.layout();
|
||||||
let rustc_target::abi::LayoutS {
|
let rustc_target::abi::LayoutS { size, align, .. } = layout.0.0;
|
||||||
size,
|
|
||||||
align,
|
|
||||||
repr_align: _,
|
|
||||||
abi: _,
|
|
||||||
variants: _,
|
|
||||||
fields: _,
|
|
||||||
largest_niche: _,
|
|
||||||
} = layout.0.0;
|
|
||||||
|
|
||||||
let (kind, extra) = place.debug_comment();
|
let (kind, extra) = place.debug_comment();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue