]> git.lizzy.rs Git - rust.git/commit
Auto merge of #74837 - xldenis:mir-dump-crate-file, r=oli-obk
authorbors <bors@rust-lang.org>
Wed, 29 Jul 2020 17:50:30 +0000 (17:50 +0000)
committerbors <bors@rust-lang.org>
Wed, 29 Jul 2020 17:50:30 +0000 (17:50 +0000)
commit8611e526b766ce188dc29bd49bf66ff17764ceea
tree3271f9e0dbe36f7f37902d93e2b186dbf16c029d
parent6fd4c3f20ff9cc4408400a98dd1c184d924421d7
parentf07607f47ab40837c92035e35602731cc80baa81
Auto merge of #74837 - xldenis:mir-dump-crate-file, r=oli-obk

Fix #70767

This PR changes the format of MIR dump filenames to include the crate name rather than `rustc` at the start.

As a result, we can now place mir-opt tests in the same directory as the source files, like with UI tests. I had to make sure that `compiletest` added a bit_width suffix to the expected files when appropriate but otherwise the change is only moving the files to the correct location and ensuring that the `EMIT_MIR` lines are correct.

Fixes #70767
cc @oli-obk