about summary refs log tree commit diff
path: root/src/libstd/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-02-27 00:29:50 +0000
committerbors <bors@rust-lang.org>2018-02-27 00:29:50 +0000
commit29f5c699b11a6a148f097f82eaa05202f8799bbc (patch)
tree5af1b0a10be866a44a3d7e510962aafdc6af5445 /src/libstd/sys/unix/process/process_unix.rs
parentbedbad61195d2eae69b43eca49c6d3e2aee8f208 (diff)
parent9f9183d34d411cf51645b91487de4a5191442b1a (diff)
downloadrust-29f5c699b11a6a148f097f82eaa05202f8799bbc.tar.gz
rust-29f5c699b11a6a148f097f82eaa05202f8799bbc.zip
Auto merge of #48449 - petrochenkov:uidiff, r=nikomatsakis
Anonymize some line numbers in UI test output

New unstable flag `-Z ui-testing` is introduced. This flag changes diagnostic output of the compiler *in some way* making it more suitable for UI testing (this is intentionally vague).
At the moment this flag anonymizes line numbers at line starts thus solving the largest issue with UI test diffs. If diffs continue to be too noisy, some other tweaks could be applied (e.g. anonymizing lines/columns in `--> $DIR/file.rs:line:column`), but this needs some time and experience (we shouldn't diverge too much from the actual output in general).

If comment `// disable-ui-testing-normalization` is added to an UI test, then `-Z ui-testing` is not passed.

Closes https://github.com/rust-lang/rust/issues/46643
Diffstat (limited to 'src/libstd/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions