Skip to content

Commit 77bd47d

Browse files
committed
explicitly disable -Zmir-include-spans in mir-opt tests
This will override the NLL default of true, and keep the blessed dumps easier to work with.
1 parent ff6d075 commit 77bd47d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/compiletest/src/runtest.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2175,6 +2175,7 @@ impl<'test> TestCx<'test> {
21752175
"-Zvalidate-mir",
21762176
"-Zlint-mir",
21772177
"-Zdump-mir-exclude-pass-number",
2178+
"-Zmir-include-spans=false",
21782179
"--crate-type=rlib",
21792180
]);
21802181
if let Some(pass) = &self.props.mir_unit_test {

0 commit comments

Comments
 (0)