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 /src/test | |
| 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 'src/test')
| -rw-r--r-- | src/test/rustdoc-ui/z-help.stdout | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/rustdoc-ui/z-help.stdout b/src/test/rustdoc-ui/z-help.stdout index 86e42440bd0..780c0032b6d 100644 --- a/src/test/rustdoc-ui/z-help.stdout +++ b/src/test/rustdoc-ui/z-help.stdout @@ -76,6 +76,7 @@ -Z meta-stats=val -- gather metadata statistics (default: no) -Z mir-emit-retag=val -- emit Retagging MIR statements, interpreted e.g., by miri; implies -Zmir-opt-level=0 (default: no) -Z mir-enable-passes=val -- use like `-Zmir-enable-passes=+DestProp,-InstCombine`. Forces the specified passes to be enabled, overriding all other checks. Passes that are not specified are enabled or disabled by other flags as usual. + -Z mir-pretty-relative-line-numbers=val -- use line numbers relative to the function in mir pretty printing -Z mir-opt-level=val -- MIR optimization level (0-4; default: 1 in non optimized builds and 2 in optimized builds) -Z move-size-limit=val -- the size at which the `large_assignments` lint starts to be emitted -Z mutable-noalias=val -- emit noalias metadata for mutable references (default: yes) |
