Skip to content

Commit d3d6269

Browse files
committed
Bless mir-opt tests.
1 parent de110f9 commit d3d6269

3 files changed

+18
-4
lines changed

tests/mir-opt/building/async_await.b-{closure#0}.generator_resume.0.mir

+16-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
// MIR for `b::{closure#0}` 0 generator_resume
22
/* generator_layout = GeneratorLayout {
33
field_tys: {
4-
_0: impl std::future::Future<Output = ()>,
5-
_1: impl std::future::Future<Output = ()>,
4+
_0: GeneratorSavedTy {
5+
ty: impl std::future::Future<Output = ()>,
6+
source_info: SourceInfo {
7+
span: $DIR/async_await.rs:15:8: 15:14 (#9),
8+
scope: scope[0],
9+
},
10+
ignore_for_traits: false,
11+
},
12+
_1: GeneratorSavedTy {
13+
ty: impl std::future::Future<Output = ()>,
14+
source_info: SourceInfo {
15+
span: $DIR/async_await.rs:16:8: 16:14 (#12),
16+
scope: scope[0],
17+
},
18+
ignore_for_traits: false,
19+
},
620
},
721
variant_fields: {
822
Unresumed(0): [],

tests/mir-opt/generator_drop_cleanup.main-{closure#0}.generator_drop.0.mir

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
span: $DIR/generator_drop_cleanup.rs:11:13: 11:15 (#0),
88
scope: scope[0],
99
},
10-
is_static_ptr: false,
10+
ignore_for_traits: false,
1111
},
1212
},
1313
variant_fields: {

tests/mir-opt/generator_tiny.main-{closure#0}.generator_resume.0.mir

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
span: $DIR/generator_tiny.rs:20:13: 20:15 (#0),
88
scope: scope[0],
99
},
10-
is_static_ptr: false,
10+
ignore_for_traits: false,
1111
},
1212
},
1313
variant_fields: {

0 commit comments

Comments
 (0)