Compute generator sizes with -Zprint_type_sizes
This commit is contained in:
parent
023b5136b5
commit
b45b9489bb
6 changed files with 74 additions and 1 deletions
|
@ -826,6 +826,12 @@ fn record_layout_for_printing_outlined<'tcx>(
|
|||
return;
|
||||
}
|
||||
|
||||
ty::Generator(..) => {
|
||||
debug!("print-type-size t: `{:?}` record generator", layout.ty);
|
||||
record(DataTypeKind::Generator, false, None, vec![]);
|
||||
return;
|
||||
}
|
||||
|
||||
_ => {
|
||||
debug!("print-type-size t: `{:?}` skip non-nominal", layout.ty);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue