MIR dumps should use "crate_name." as a prefix instead of "rustc.". #70767
Labels
A-mir-opt
Area: MIR optimizations
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
rustc.main.SimplifyCfg-initial.after.mir
(insrc/test/mir-opt/basic_assignment
) is the kind of file name we have right now, but if we used the crate name instead at the start, we'd have:basic_assignment.main.SimplifyCfg-initial.after.mir
.Besides being more useful when dumping a bunch of stuff outside of tests, it would let us remove the directory nesting, so that file could just be in
src/test/mir-opt
, right next tobasic_assignment.rs
.cc @rust-lang/wg-mir-opt
The text was updated successfully, but these errors were encountered: