Remember where a type was kept in MIR.
This commit is contained in:
parent
1974b6b68d
commit
e2387ad484
8 changed files with 46 additions and 14 deletions
|
@ -1,7 +1,14 @@
|
|||
// MIR for `main::{closure#0}` 0 generator_drop
|
||||
/* generator_layout = GeneratorLayout {
|
||||
field_tys: {
|
||||
_0: std::string::String,
|
||||
_0: GeneratorSavedTy {
|
||||
ty: std::string::String,
|
||||
source_info: SourceInfo {
|
||||
span: $DIR/generator_drop_cleanup.rs:11:13: 11:15 (#0),
|
||||
scope: scope[0],
|
||||
},
|
||||
is_static_ptr: false,
|
||||
},
|
||||
},
|
||||
variant_fields: {
|
||||
Unresumed(0): [],
|
||||
|
|
|
@ -1,7 +1,14 @@
|
|||
// MIR for `main::{closure#0}` 0 generator_resume
|
||||
/* generator_layout = GeneratorLayout {
|
||||
field_tys: {
|
||||
_0: HasDrop,
|
||||
_0: GeneratorSavedTy {
|
||||
ty: HasDrop,
|
||||
source_info: SourceInfo {
|
||||
span: $DIR/generator_tiny.rs:20:13: 20:15 (#0),
|
||||
scope: scope[0],
|
||||
},
|
||||
is_static_ptr: false,
|
||||
},
|
||||
},
|
||||
variant_fields: {
|
||||
Unresumed(0): [],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue