rust/tests
bors bbc22e2ef3 Auto merge of #7083 - GuillaumeGomez:bool-assert-eq, r=camsteffen
Add lint to check for boolean comparison in assert macro calls

This PR adds a lint to check if an assert macro is using a boolean as "comparison value". For example:

```rust
assert_eq!("a".is_empty(), false);
```

Could be rewritten as:

```rust
assert!(!"a".is_empty());
```

PS: The dev guidelines are amazing. Thanks a lot for writing them!

changelog: Add `bool_assert_comparison` lint
2021-04-21 13:58:53 +00:00
..
auxiliary
cargo
ui Auto merge of #7083 - GuillaumeGomez:bool-assert-eq, r=camsteffen 2021-04-21 13:58:53 +00:00
ui-cargo Remove author requirement for cargo_common_metadata 2021-04-03 22:52:48 +02:00
ui-internal Remove all usages of match_path, match_qpath and match_path_ast except the author lint. 2021-04-15 19:27:25 -04:00
ui-toml upper_case_acronyms: add ui and ui-toml tests for private/public enums 2021-03-27 01:08:14 +01:00
compile-test.rs Fix all occurences of needless_borrow internally 2021-04-06 10:43:47 -04:00
dogfood.rs
fmt.rs
integration.rs
lint_message_convention.rs Fix codes that make dogfood fail 2021-04-01 00:05:42 +09:00
missing-test-files.rs
versioncheck.rs