]> git.lizzy.rs Git - rust.git/commit
Add run-rustfix for len_zero lint
authorPhilipp Hansch <dev@phansch.net>
Tue, 16 Apr 2019 19:46:07 +0000 (21:46 +0200)
committerPhilipp Hansch <dev@phansch.net>
Tue, 16 Apr 2019 19:46:07 +0000 (21:46 +0200)
commitbae7d29dbe7f59a1ffe4445355d4db0095005aef
tree7abcb4b67bb5eef024e1c90b5b0946bddfd6c592
parentd516925ec8ff4d39e32830442959fad16407e87e
Add run-rustfix for len_zero lint

* Extracts len_without_is_empty into separate file
* Adds `// run-rustfix` to `tests/ui/len_zero.rs`
tests/ui/len_without_is_empty.rs [new file with mode: 0644]
tests/ui/len_without_is_empty.stderr [new file with mode: 0644]
tests/ui/len_zero.fixed [new file with mode: 0644]
tests/ui/len_zero.rs
tests/ui/len_zero.stderr