Skip to content

Commit ec063a0

Browse files
committed
adjust mir-opt tests
1 parent 7935931 commit ec063a0

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/test/mir-opt/retag.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ fn main() {
113113
// }
114114
// }
115115
// END rustc.main-{{closure}}.EraseRegions.after.mir
116-
// START rustc.ptr-real_drop_in_place.Test.SimplifyCfg-make_shim.after.mir
117-
// fn std::ptr::real_drop_in_place(_1: &mut Test) -> () {
116+
// START rustc.ptr-drop_in_place.Test.SimplifyCfg-make_shim.after.mir
117+
// fn std::intrinsics::drop_in_place(_1: *mut Test) -> () {
118118
// ...
119119
// bb0: {
120120
// Retag([raw] _1);
@@ -126,4 +126,4 @@ fn main() {
126126
// return;
127127
// }
128128
// }
129-
// END rustc.ptr-real_drop_in_place.Test.SimplifyCfg-make_shim.after.mir
129+
// END rustc.ptr-drop_in_place.Test.SimplifyCfg-make_shim.after.mir

src/test/mir-opt/slice-drop-shim.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ fn main() {
66

77
// END RUST SOURCE
88

9-
// START rustc.ptr-real_drop_in_place.[std__string__String].AddMovesForPackedDrops.before.mir
9+
// START rustc.ptr-drop_in_place.[std__string__String].AddMovesForPackedDrops.before.mir
1010
// let mut _2: usize;
1111
// let mut _3: usize;
1212
// let mut _4: usize;
@@ -87,4 +87,4 @@ fn main() {
8787
// _3 = Len((*_1));
8888
// switchInt(move _2) -> [0usize: bb8, otherwise: bb14];
8989
// }
90-
// END rustc.ptr-real_drop_in_place.[std__string__String].AddMovesForPackedDrops.before.mir
90+
// END rustc.ptr-drop_in_place.[std__string__String].AddMovesForPackedDrops.before.mir

src/test/mir-opt/unusual-item-types.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fn main() {
4545
// }
4646
// END rustc.E-V-{{constant}}.mir_map.0.mir
4747

48-
// START rustc.ptr-real_drop_in_place.std__vec__Vec_i32_.AddMovesForPackedDrops.before.mir
48+
// START rustc.ptr-drop_in_place.std__vec__Vec_i32_.AddMovesForPackedDrops.before.mir
4949
// bb0: {
5050
// goto -> bb7;
5151
// }
@@ -71,7 +71,7 @@ fn main() {
7171
// _2 = &mut (*_1);
7272
// _3 = const <std::vec::Vec<i32> as std::ops::Drop>::drop(move _2) -> [return: bb6, unwind: bb5];
7373
// }
74-
// END rustc.ptr-real_drop_in_place.std__vec__Vec_i32_.AddMovesForPackedDrops.before.mir
74+
// END rustc.ptr-drop_in_place.std__vec__Vec_i32_.AddMovesForPackedDrops.before.mir
7575

7676
// START rustc.Test-X-{{constructor}}.mir_map.0.mir
7777
// fn Test::X(_1: usize) -> Test {

0 commit comments

Comments
 (0)