diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2022-07-27 20:42:07 +0200 |
|---|---|---|
| committer | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2022-07-28 11:59:54 +0200 |
| commit | 7cf7ead0bc840b097b770773b7a58d99bf3f5bdf (patch) | |
| tree | becd6260027a919dbdf48a5580e37d1f0b8fb84d /compiler/rustc_interface | |
| parent | 2643b16468fda787470340890212591d8bc832b7 (diff) | |
| download | rust-7cf7ead0bc840b097b770773b7a58d99bf3f5bdf.tar.gz rust-7cf7ead0bc840b097b770773b7a58d99bf3f5bdf.zip | |
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.
Diffstat (limited to 'compiler/rustc_interface')
| -rw-r--r-- | compiler/rustc_interface/src/tests.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs index 21d9eaccf67..57ce4933a3b 100644 --- a/compiler/rustc_interface/src/tests.rs +++ b/compiler/rustc_interface/src/tests.rs @@ -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); |
