Files
rust/compiler
bors 36f4f4aa38 Auto merge of #99780 - Nilstrieb:mir-opt-test-line-no, r=oli-obk
Use line numbers relative to the function in mir-opt tests

As shown in #99770, the line numbers can be a big source of needless and confusing diffs. This PR adds a new flag `-Zmir-pretty-relative-line-numbers` to make them relative to the function declaration, which avoids most needless diffs from attribute changes.

`@JakobDegen` told me that there has been a zulip conversation about disabling line numbers with mixed opinions, so I'd like to get some feedback here, for this hopefully better solution.

r? rust-lang/wg-mir-opt
2022-07-28 16:22:19 +00:00
..
2022-06-27 08:48:55 +10:00
2022-07-16 20:17:58 -03:00
2022-07-12 16:25:16 +04:00
2022-06-28 19:59:09 +05:30
2022-07-20 11:48:11 +02:00
2022-07-20 11:48:11 +02:00