1
Fork 0

Use line numbers relative to function in mir opt tests

This adds a new option, `-Zmir-pretty-relative-line-numbers`, that
is then used in compiletest for the mir-opt tests.
This commit is contained in:
Nilstrieb 2022-07-27 20:42:07 +02:00
parent 2643b16468
commit 7cf7ead0bc
6 changed files with 44 additions and 6 deletions

View file

@ -670,6 +670,7 @@ fn test_unstable_options_tracking_hash() {
untracked!(ls, true);
untracked!(macro_backtrace, true);
untracked!(meta_stats, true);
untracked!(mir_pretty_relative_line_numbers, true);
untracked!(nll_facts, true);
untracked!(no_analysis, true);
untracked!(no_interleave_lints, true);