about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2018-11-05 09:02:11 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-11-05 09:02:11 +0000
commit4c3408c61d1042bf0585de440041ee7edfc5b350 (patch)
tree34b8469202e6fd9e71aaf4b9df7d09758afdd6e5 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parent7e417d4cbd4c254792b6fb7bb0c13896f9ff42e7 (diff)
parent745a619657943f2491a02020907c2de18163b0cd (diff)
downloadrust-4c3408c61d1042bf0585de440041ee7edfc5b350.tar.gz
rust-4c3408c61d1042bf0585de440041ee7edfc5b350.zip
Merge #3408
3408: RIIR update lints: Add check mode (update_lints.py rewrite complete) r=oli-obk a=phansch

This finishes up the rewrite of `update_lints.py` in Rust. More
specifically, this

* adds the `--check` flag and handling to clippy_dev
* tracks file changes over the different calls to `replace_region_in_file`
* only writes changes to files if the `--check` flag is *not* used
* runs `./util/dev update_lints --check` on CI instead of the old script
* replaces usage of the `update_lints.py` script with an error

`./util/dev update_lints` behaves 99% the same as the python script.
The only difference that I'm aware of is an ordering change to
`clippy_lints/src/lib.rs` because underscores seem to be sorted
differently in Rust and in Python.

:checkered_flag:

cc #2882 

Co-authored-by: Philipp Hansch <dev@phansch.net>
Co-authored-by: Philipp Krones <hello@philkrones.com>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions