Skip to content

Commit f07607f

Browse files
committed
Move mir-opt tests to toplevel
1 parent 86be22e commit f07607f

File tree

195 files changed

+68
-275
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

195 files changed

+68
-275
lines changed

‎Cargo.lock‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,7 @@ dependencies = [
611611
"diff",
612612
"env_logger 0.7.1",
613613
"getopts",
614+
"glob",
614615
"lazy_static",
615616
"libc",
616617
"log",

‎fuckyou.rb‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎omg.mir‎

Lines changed: 0 additions & 2 deletions
This file was deleted.

‎src/librustc_mir/util/pretty.rs‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,15 @@ fn dump_path(
197197
};
198198

199199
let file_name = format!(
200-
"{}.{}{}{}{}.{}.{}.{}", crate_name,
201-
item_name, shim_disambiguator, promotion_id, pass_num, pass_name, disambiguator, extension,
200+
"{}.{}{}{}{}.{}.{}.{}",
201+
crate_name,
202+
item_name,
203+
shim_disambiguator,
204+
promotion_id,
205+
pass_num,
206+
pass_name,
207+
disambiguator,
208+
extension,
202209
);
203210

204211
file_path.push(&file_name);

src/test/mir-opt/address-of/address_of.address_of_reborrow.SimplifyCfg-initial.after.mir renamed to src/test/mir-opt/address_of.address_of_reborrow.SimplifyCfg-initial.after.mir

File renamed without changes.

src/test/mir-opt/address-of/address_of.borrow_and_cast.SimplifyCfg-initial.after.mir renamed to src/test/mir-opt/address_of.borrow_and_cast.SimplifyCfg-initial.after.mir

File renamed without changes.

src/test/mir-opt/array-index-is-temporary/32bit/rustc.main.SimplifyCfg-elaborate-drops.after.mir renamed to src/test/mir-opt/array_index_is_temporary.main.SimplifyCfg-elaborate-drops.after.mir.32bit

File renamed without changes.

src/test/mir-opt/array-index-is-temporary/64bit/array_index_is_temporary.main.SimplifyCfg-elaborate-drops.after.mir renamed to src/test/mir-opt/array_index_is_temporary.main.SimplifyCfg-elaborate-drops.after.mir.64bit

File renamed without changes.

src/test/mir-opt/basic_assignment/basic_assignment.main.SimplifyCfg-initial.after.mir renamed to src/test/mir-opt/basic_assignment.main.SimplifyCfg-initial.after.mir

File renamed without changes.

src/test/mir-opt/box_expr/box_expr.main.ElaborateDrops.before.mir renamed to src/test/mir-opt/box_expr.main.ElaborateDrops.before.mir

File renamed without changes.

0 commit comments

Comments
 (0)