Closed
Description
originally mentioned in #69916 (comment)
Basically all the lines look like
return; // bb2[0]: scope 0 at $DIR/const-promotion-extern-static.rs:13:1: 13:56
which is a lot of noise if used with mir-opt
tests and diff
mode, because mir optimizations that don't even touch the current statement may still cause diff fallout because they touch the comments.
Should we just stop emitting the location? Or maybe just specifically for mir-opt tests by creating a new -Z
flag?
Metadata
Metadata
Assignees
Labels
Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlArea: MIR optimizationsArea: The testsuite used to check the correctness of rustcCategory: An issue proposing an enhancement or a PR with one.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Relevant to the compiler team, which will review and decide on the PR/issue.