rust/clippy_dev/src
Philipp Hansch dfb4ea588c
Fix blessing of new reference files
Adding of new reference files wasn't handled correctly. It was trying to
read a file that didn't exist yet.

Instead of unwrapping, we now treat a missing reference file as empty
(`Vec::new`). This makes the following conditional work. We then also
have to re-read the reference file after it was being copied. This
second read is technically the same as in the old shell script, but
wasn't really obvious. The shell script did a `-s` test which reads the
file.
2020-12-19 08:43:45 +01:00
..
bless.rs Fix blessing of new reference files 2020-12-19 08:43:45 +01:00
fmt.rs cargo dev: rename ra-setup to ra_setup to be in line with the other commands 2020-12-13 18:52:46 +01:00
lib.rs Rewrite update-all-references bash scripts in Rust 2020-12-12 15:09:57 +01:00
main.rs cargo dev: rename ra-setup to ra_setup to be in line with the other commands 2020-12-13 18:52:46 +01:00
new_lint.rs Merge commit '3d0b0e66af' into clippyup 2020-08-28 18:43:25 +02:00
ra_setup.rs cargo dev: rename ra-setup to ra_setup to be in line with the other commands 2020-12-13 18:52:46 +01:00
serve.rs Merge commit '2f6439ae6a' into clippyup 2020-10-09 12:45:29 +02:00
stderr_length_check.rs Define modules in lib.rs instead of main.rs 2020-03-31 17:24:09 +02:00
update_lints.rs fix clippy-dev update_lints 2020-11-29 21:07:47 +01:00