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:
authorPhilipp Hansch <dev@phansch.net>2018-11-04 09:41:28 +0100
committerPhilipp Hansch <dev@phansch.net>2018-11-05 07:18:47 +0100
commit90f31e21ab1e3b0b3cd3887094a705217f67bdfa (patch)
tree257a49451ad607ce70d38d6f6a368ab0b65383e7 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parent7e417d4cbd4c254792b6fb7bb0c13896f9ff42e7 (diff)
downloadrust-90f31e21ab1e3b0b3cd3887094a705217f67bdfa.tar.gz
rust-90f31e21ab1e3b0b3cd3887094a705217f67bdfa.zip
RIIR update lints: Add check mode (update_lints.py rewrite complete)
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:
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions