about summary refs log tree commit diff
path: root/tests/ui/len_zero.rs
AgeCommit message (Collapse)AuthorLines
2019-05-30Rustup to https://github.com/rust-lang/rust/pull/61203Philipp Hansch-2/+2
Migrates all trait objects to use `dyn`
2019-04-16Add run-rustfix for len_zero lintPhilipp Hansch-96/+10
* Extracts len_without_is_empty into separate file * Adds `// run-rustfix` to `tests/ui/len_zero.rs`
2019-03-10Various cosmetic improvements.Alexander Regueiro-16/+17
2019-01-08Remove all copyright license headersPhilipp Hansch-9/+0
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
2018-12-09rustfmt testsMatthias Krüger-3/+0
2018-10-11Stabilize tool lintsOliver Scherer-1/+1
2018-10-06Add license header to Rust filesManish Goregaokar-0/+10
2018-08-29Adapt ui-tests to the tool_lintsflip1995-2/+4
2018-05-06Update len_zero to handle comparisions with oneNiekGr-18/+55
I have added test cases for comparisons with zero and one. While implementing handling of one, incorrect handlings of zero were also fixed. fixes rust-lang-nursery/rust-clippy/#2554
2017-10-03Reduce the hackiness of cargo-clippyOliver Schneider-2/+2
2017-09-04Fix `len_zero` ICEOliver Schneider-0/+7
2017-08-28len_without_is_empty false positive #1740Tim Nielens-0/+10
2017-08-01Move all our tests back to ui testsOliver Schneider-0/+174
2017-05-17Make most tests an `example` so we can run them one by oneOliver Schneider-174/+0
2017-05-11clean tests/ui/len_zero.rsLuis de Bethencourt-18/+0
Cleaning the empty lines for clarity.
2017-02-25Enable `len_zero` for slicessinkuu-0/+5
2017-02-19Fix typoPhil Ellison-1/+1
2017-02-19Add test that adding allow attribute on impl block containing len silences ↵Phil Ellison-0/+24
len_without_is_empty. Add extra impl block to PubOne to check that this doesn't get flagged@
2017-02-08remove all //~ from testsOliver Schneider-22/+22
2017-02-07rustup and compile-fail -> ui test moveOliver Schneider-0/+163