Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
0e452d4
fn_to_numeric_cast_any: Do not warn cast to raw pointer
taiki-e Dec 27, 2025
d3ca65d
fix: `manual_rotate` wrongly unmangled macros
profetia Jan 5, 2026
a255ac1
fix: `map_with_unused_argument_over_ranges` wrongly unmangled macros
profetia Jan 5, 2026
3272a9b
fix: `needless_bool` wrongly unmangled macros
profetia Jan 5, 2026
31f04c7
fix: `manual_is_power_of_two` wrongly unmangled macros
profetia Jan 5, 2026
93bf95b
fix: `manual_div_ceil` wrongly unmangled macros
profetia Jan 5, 2026
838e235
fix: `implicit_saturating_sub` wrongly unmangled macros
profetia Jan 5, 2026
a407005
fix: `range_minus_one` and `range_plus_one` wrongly unmangled macros
profetia Jan 5, 2026
ab427a2
fix: `manual_swap` wrongly unmangled macros
profetia Jan 5, 2026
ede468a
fix: `let_and_return` wrongly unmangles macros
profetia Jan 20, 2026
e1b713a
fix: `expect_fun_call` suggests wrongly for string slicing
profetia Mar 23, 2026
1437b42
perf: disable `nonminimal_bool` by default
blyxyas Mar 25, 2026
7c6ac13
fix: `question_mark` FN for manual unwrap with `match`
profetia Mar 26, 2026
fca4656
fix: `question_mark` FN when the match scrutinee is behind reference
profetia Mar 26, 2026
72e7f28
fix: `question_mark` FN when match binding is behind `ref` or `mut`
profetia Mar 26, 2026
cfd67fc
fix: `question_mark` FN for manual unwrap with `if let`
profetia Mar 26, 2026
be6cf3c
Apply `question_mark` to Clippy itself
profetia Mar 26, 2026
ab1279e
Truncate constants to target type in comparison
samueltardieu Mar 30, 2026
8322ae2
Rework `expr_use_ctxt` into an iterator over successive use sites.
Jarcho Mar 29, 2026
697ae4a
apply review suggestions and move Cow sym to rustc
m4rch3n1ng Mar 31, 2026
232d064
Lower `impl` restriction to HIR
CoCo-Japan-pan Mar 22, 2026
b269a2b
fix: unnecessary type cast causing a compile error
S1gn3rs Mar 27, 2026
f04b718
integrate parsed lint attrs into clippy
Bryntet Feb 22, 2026
d0594c1
bless tests and tidy
Bryntet Mar 10, 2026
39f52ee
deduplicate unused expect lints
Bryntet Mar 4, 2026
d5f1065
[`unsafe_removed_from_name`]: skip lint when renaming to '_'
J-ZhengLi Apr 3, 2026
26799d9
Update cargo_metadata to 0.23.
jakubadamw Apr 3, 2026
dc57fd7
Merge commit '88f787d193fb1f0491b001288e82b5574c080606' into clippy-s…
flip1995 Apr 4, 2026
80d86e3
Update cargo_metadata to 0.23 (#16803)
llogiq Apr 4, 2026
ee4aff9
Multiple fixes to FNs of `question_mark` (#16769)
dswij Apr 4, 2026
3cd5a65
[`unsafe_removed_from_name`]: skip linting when renaming to '_' (#16802)
llogiq Apr 4, 2026
1e0b66e
fix: unnecessary type cast causing a compile error (#16796)
llogiq Apr 4, 2026
ab9cb42
Rework `expr_use_ctxt` into an iterator over successive use sites. (#…
llogiq Apr 5, 2026
389a32a
perf: disable `nonminimal_bool` by default (#16761)
samueltardieu Apr 5, 2026
df2f81b
add struct support to unneeded_wildcard_pattern lint
jcarey9149 Mar 16, 2026
49a2f38
Unneeded wildcard improvement (#16733)
ada4a Apr 6, 2026
c40e988
unneeded_wildcard_pattern.rs: fix typo (rathter -> rather)
DanielEScherzer Apr 6, 2026
c4e5a77
unneeded_wildcard_pattern.rs: fix typo (rathter -> rather) (#16818)
samueltardieu Apr 7, 2026
6a4eefd
`ty::Alias` refactor: fix clippy
WaffleLapkin Apr 3, 2026
f5f3c2f
Truncate constants to target type in comparison (#16782)
Jarcho Apr 7, 2026
3351369
Enhance `manual_filter` to cover `and_then`
profetia Jan 25, 2026
78438c0
Use fine grained component-wise span tracking in use trees
oli-obk Feb 21, 2026
cf6aa22
update thin-vec
malezjaa Apr 8, 2026
810f8e4
Auto merge of #153838 - oli-obk:use-tree-span, r=davidtwco
bors Apr 8, 2026
84f3530
fixing clippy reference
Apr 8, 2026
624a067
Rollup merge of #155007 - josetorrs:rename-is-impl-trait, r=WaffleLap…
jhpratt Apr 9, 2026
46a80c2
fn_to_numeric_cast_any: Do not warn cast to raw pointer (#14109)
Jarcho Apr 9, 2026
878feaa
fix: `unused_async` FP for stubs with args
profetia Apr 9, 2026
1ddb9f2
Revert #152369 because of multiple regressions
JonathanBrouwer Apr 9, 2026
b305aee
fixup rustdoc,clippy,rustfmt
jdonszelmann Apr 9, 2026
32213c6
Rollup merge of #154646 - m4rch3n1ng:144792-cow-diag, r=davidtwco
JonathanBrouwer Apr 10, 2026
c482441
Auto merge of #155115 - JonathanBrouwer:rollup-RePrRPQ, r=JonathanBro…
bors Apr 10, 2026
fb16ce7
Rollup merge of #154661 - CoCo-Japan-pan:impl-restriction-check, r=jh…
jhpratt Apr 11, 2026
f148236
Add `eii_impls` argument to `StaticItem`
JonathanBrouwer Mar 26, 2026
d588ba3
Extend `manual_filter` to cover `and_then` (#16456)
ada4a Apr 11, 2026
08fa871
Even more fixes for handling of macros (#16443)
ada4a Apr 11, 2026
33a3b22
Do not trigger `let_and_return` on `let else`
samueltardieu Apr 8, 2026
787dd49
Changelog for Clippy 1.95
alex-semenyuk Apr 6, 2026
ea2b4d2
Fix `unused_async` FP for stubs with args (#16832)
dswij Apr 12, 2026
7f096cf
Fix wrong suggestion for `println_empty_string` with non-parenthesis …
lapla-cogito Apr 12, 2026
0e4b612
Rollup merge of #155003 - malezjaa:update-thinvec, r=davidtwco
JonathanBrouwer Apr 13, 2026
fe2553f
Use `!null` pattern type in libcore
oli-obk May 17, 2025
7f0774a
Fix wrong suggestion for `println_empty_string` with non-parenthesis …
samueltardieu Apr 13, 2026
b23bc0b
Rollup merge of #154193 - JonathanBrouwer:external-static, r=jdonszel…
JonathanBrouwer Apr 13, 2026
2c5e3d3
Auto merge of #155253 - JonathanBrouwer:rollup-lERdTAB, r=JonathanBro…
bors Apr 13, 2026
1e793cd
Remove AttributeDuplicates from BUILTIN_ATTRIBUTES
JonathanBrouwer Apr 12, 2026
01dfd31
Auto merge of #136006 - oli-obk:push-tzonluoyuwkq, r=wesleywiser
bors Apr 13, 2026
4c4c8c7
Add MSRV check for `manual_noop_waker`
lapla-cogito Apr 14, 2026
f4b9b8d
Auto merge of #155209 - JonathanBrouwer:attr_cleanup2, r=jdonszelmann
bors Apr 14, 2026
ded0118
Add MSRV check for `manual_noop_waker` (#16850)
samueltardieu Apr 14, 2026
effe235
Fix `expect_fun_call` suggests wrongly for string slicing (#16752)
dswij Apr 14, 2026
6995867
conditionally wrap LHS of `int_plus_one` error to avoid parser ambiguity
zvkemp Apr 13, 2026
8d2de21
Apply `byte_char_slices` to Clippy itself
profetia Apr 6, 2026
d0c0f3a
Enhance `byte_char_slices` to cover arrays
profetia Mar 26, 2026
c0adb72
Extend `byte_char_slices` to cover arrays (#16770)
samueltardieu Apr 15, 2026
5ba0e3a
Parenthesize AssocOp::Cast in suggestion when replacement operator is…
Jarcho Apr 16, 2026
a333abf
Changelog for Clippy 1.95 (#16842)
flip1995 Apr 16, 2026
121f867
Do not trigger `let_and_return` on `let else` (#16829)
samueltardieu Apr 16, 2026
205fab6
Merge remote-tracking branch 'upstream/master' into rustup
flip1995 Apr 16, 2026
a6fceda
Bump nightly version -> 2026-04-16
flip1995 Apr 16, 2026
7a69763
Bump Clippy version -> 0.1.97
flip1995 Apr 16, 2026
f6d3106
Rustup (#16866)
flip1995 Apr 16, 2026
55b8a36
Merge commit 'f6d310692116e9a527ce6d0b3526c965d9c5d7b9' into clippy-s…
flip1995 Apr 16, 2026
760db10
Update Cargo.lock
flip1995 Apr 16, 2026
eee5e1a
Fix Clippy lint in bootstrap
flip1995 Apr 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -649,11 +649,11 @@ checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d"

[[package]]
name = "clippy"
version = "0.1.96"
version = "0.1.97"
dependencies = [
"anstream",
"askama",
"cargo_metadata 0.18.1",
"cargo_metadata 0.23.1",
"clippy_config",
"clippy_lints",
"clippy_lints_internal",
Expand All @@ -676,7 +676,7 @@ dependencies = [

[[package]]
name = "clippy_config"
version = "0.1.96"
version = "0.1.97"
dependencies = [
"clippy_utils",
"itertools",
Expand All @@ -700,10 +700,10 @@ dependencies = [

[[package]]
name = "clippy_lints"
version = "0.1.96"
version = "0.1.97"
dependencies = [
"arrayvec",
"cargo_metadata 0.18.1",
"cargo_metadata 0.23.1",
"clippy_config",
"clippy_utils",
"declare_clippy_lint",
Expand Down Expand Up @@ -732,7 +732,7 @@ dependencies = [

[[package]]
name = "clippy_utils"
version = "0.1.96"
version = "0.1.97"
dependencies = [
"arrayvec",
"itertools",
Expand Down Expand Up @@ -1136,7 +1136,7 @@ dependencies = [

[[package]]
name = "declare_clippy_lint"
version = "0.1.96"
version = "0.1.97"

[[package]]
name = "derive-where"
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap/src/core/debuggers/lldb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub(crate) fn discover_lldb(builder: &Builder<'_>) -> Option<Lldb> {
.arg("--version")
.run_capture(builder)
.stdout_if_ok()
.and_then(|v| if v.trim().is_empty() { None } else { Some(v) })?;
.filter(|v| !v.trim().is_empty())?;

Some(Lldb { lldb_exe, lldb_version })
}
124 changes: 118 additions & 6 deletions src/tools/clippy/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,124 @@ document.

## Unreleased / Beta / In Rust Nightly

[500e0ff...master](https://github.com/rust-lang/rust-clippy/compare/500e0ff...master)
[df995e...master](https://github.com/rust-lang/rust-clippy/compare/df995e...master)

## Rust 1.95

Current stable, released 2026-04-16

[View all 107 merged pull requests](https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2026-01-09T11%3A07%3A27Z..2026-02-23T22%3A37%3A09Z+base%3Amaster)

### New Lints

* Added [`unnecessary_trailing_comma`] to `pedantic`
[#16530](https://github.com/rust-lang/rust-clippy/pull/16530)
* Added [`disallowed_fields`] to `style`
[#16218](https://github.com/rust-lang/rust-clippy/pull/16218)
* Added [`manual_checked_ops`] to `complexity`
[#16149](https://github.com/rust-lang/rust-clippy/pull/16149)
* Added [`duration_suboptimal_units`] to `pedantic`
[#16250](https://github.com/rust-lang/rust-clippy/pull/16250)
* Added [`manual_take`] to `complexity`
[#16368](https://github.com/rust-lang/rust-clippy/pull/16368)

### Enhancements

* [`explicit_counter_loop`] fix FN when loop counter starts at non-zero
[#16620](https://github.com/rust-lang/rust-clippy/pull/16620)
* [`manual_is_variant_and`] extend to cover `filter` chaining `is_some`
[#16521](https://github.com/rust-lang/rust-clippy/pull/16521)
* [`manual_is_variant_and`] enhance to cover manual `is_none_or`
[#16424](https://github.com/rust-lang/rust-clippy/pull/16424)
* [`collapsible_match`] extend to cover if-elses
[#16560](https://github.com/rust-lang/rust-clippy/pull/16560)
* [`useless_conversion`] also fire inside compiler desugarings
[#16594](https://github.com/rust-lang/rust-clippy/pull/16594)
* [`unwrap_used`] and [`expect_used`] add `allow-unwrap-types` configuration
[#16605](https://github.com/rust-lang/rust-clippy/pull/16605)
* [`unwrap_used`] and [`expect_used`] optimize `allow-unwrap-types` evaluation to eliminate performance regression
[#16652](https://github.com/rust-lang/rust-clippy/pull/16652)
* [`unchecked_time_subtraction`] extend to better handle `Duration` literals
[#16528](https://github.com/rust-lang/rust-clippy/pull/16528)
* [`unnecessary_fold`] match against an accumulator on both sides
[#16604](https://github.com/rust-lang/rust-clippy/pull/16604)
* [`iter_kv_map`] extend to cover `flat_map` and `filter_map`
[#16519](https://github.com/rust-lang/rust-clippy/pull/16519)
* [`question_mark`] enhance to cover `else if`
[#16455](https://github.com/rust-lang/rust-clippy/pull/16455)
* [`double_comparisons`] check for expressions such as `x != y && x >= y`
[#16033](https://github.com/rust-lang/rust-clippy/pull/16033)
* [`needless_collect`] enhance to cover vec `push`-alike cases
[#16305](https://github.com/rust-lang/rust-clippy/pull/16305)
* [`strlen_on_c_strings`] changes suggestion to use `CStr::count_bytes()`
[#16323](https://github.com/rust-lang/rust-clippy/pull/16323)
* [`transmuting_null`] now checks for `ptr::without_provenance` and `ptr::without_provenance_mut`
[#16336](https://github.com/rust-lang/rust-clippy/pull/16336)
* [`map_unwrap_or`] add cover for `Result::unwrap_or`
[#15718](https://github.com/rust-lang/rust-clippy/pull/15718)
* [`clone_on_ref_ptr`] don't add a `&` to the receiver if it's a reference
[#15742](https://github.com/rust-lang/rust-clippy/pull/15742)
* [`double_must_use`], [`drop_non_drop`], [`let_underscore_must_use`] consider `Result<T, U>` and
`ControlFlow<U, T>` as `T` wrt `#[must_use]` if `U` is uninhabited
[#16353](https://github.com/rust-lang/rust-clippy/pull/16353)
* [`str_to_string`] handle a case when `ToString::to_string` is passed as function parameter
[#16512](https://github.com/rust-lang/rust-clippy/pull/16512)
* [`must_use_candidate`] no longer lints `main` functions with return values
[#16552](https://github.com/rust-lang/rust-clippy/pull/16552)
* [`needless_continue`] `allow` and `expect` attributes can also be used on the statement
[#16265](https://github.com/rust-lang/rust-clippy/pull/16265)
* [`int_plus_one`] fix FN with negative literals, e.g. `-1 + x <= y`
[#16373](https://github.com/rust-lang/rust-clippy/pull/16373)

### False Positive Fixes

* [`assertions_on_result_states`] and [`missing_assert_message`] fix FP on edition 2015 and 2018
[#16473](https://github.com/rust-lang/rust-clippy/pull/16473)
* [`redundant_iter_cloned`] fix FP with move closures and coroutines
[#16494](https://github.com/rust-lang/rust-clippy/pull/16494)
* [`str_to_string`] fix FP on non-str types
[#16571](https://github.com/rust-lang/rust-clippy/pull/16571)
* [`unnecessary_cast`] do not warn on casts of external function return type
[#16415](https://github.com/rust-lang/rust-clippy/pull/16415)
* [`cmp_owned`] fix FP when `to_string` comes from macro input
[#16468](https://github.com/rust-lang/rust-clippy/pull/16468)
* [`useless_attribute`] fix FP on `exported_private_dependencies` lint attributes
[#16470](https://github.com/rust-lang/rust-clippy/pull/16470)
* [`manual_dangling_ptr`] fix FP when pointee type is not `Sized`
[#16469](https://github.com/rust-lang/rust-clippy/pull/16469)
* [`test_attr_in_doctest`] fix FP on `test_harness`
[#16454](https://github.com/rust-lang/rust-clippy/pull/16454)
* [`doc_paragraphs_missing_punctuation`] allow unpunctuated paragraphs before lists and code blocks
[#16487](https://github.com/rust-lang/rust-clippy/pull/16487)
* [`elidable_lifetime_names`] skip linting proc-macro generated code
[#16402](https://github.com/rust-lang/rust-clippy/pull/16402)
* [`undocumented_unsafe_blocks`] recognize safety comments inside blocks and on same line in macros
[#16339](https://github.com/rust-lang/rust-clippy/pull/16339)

### ICE Fixes

* [`match_same_arms`] fix ICE in `match_same_arms`
[#16685](https://github.com/rust-lang/rust-clippy/pull/16685)
* [`nonminimal_bool`] fix ICE in `swap_binop()` by using the proper `TypeckResults`
[#16659](https://github.com/rust-lang/rust-clippy/pull/16659)
* [`redundant_closure_for_method_calls`] fix ICE when computing the path from a type to itself
[#16362](https://github.com/rust-lang/rust-clippy/pull/16362)

### Documentation Improvements

* [`cast_possible_wrap`] mention `cast_{un,}signed()` methods in the documentation
[#16407](https://github.com/rust-lang/rust-clippy/pull/16407)
* [`ignore_without_reason`] and [`redundant_test_prefix`] mention an extra `clippy` argument
needed to check tests
[#16205](https://github.com/rust-lang/rust-clippy/pull/16205)
* [`doc_paragraphs_missing_punctuation`] improve its documentation
[#16377](https://github.com/rust-lang/rust-clippy/pull/16377)
* [`missing_trait_methods`] better help message
[#16380](https://github.com/rust-lang/rust-clippy/pull/16380)
* [`strlen_on_c_strings`] mention the specific type (`CString` or `CStr`)
[#16391](https://github.com/rust-lang/rust-clippy/pull/16391)
* [`suspicious_to_owned`] improve lint messages
[#16376](https://github.com/rust-lang/rust-clippy/pull/16376)

## Rust 1.94

Expand Down Expand Up @@ -104,11 +221,6 @@ Current stable, released 2026-03-05
* [`needless_type_cast`] do not ICE on struct constructor
[#16245](https://github.com/rust-lang/rust-clippy/pull/16245)

### New Lints

* Added [`unnecessary_trailing_comma`] to `style` (single-line format-like macros only)
[#13965](https://github.com/rust-lang/rust-clippy/issues/13965)

## Rust 1.93

Current stable, released 2026-01-22
Expand Down
4 changes: 2 additions & 2 deletions src/tools/clippy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clippy"
version = "0.1.96"
version = "0.1.97"
description = "A bunch of helpful lints to avoid common pitfalls in Rust"
repository = "https://github.com/rust-lang/rust-clippy"
readme = "README.md"
Expand Down Expand Up @@ -33,7 +33,7 @@ color-print = "0.3.4"
anstream = "0.6.18"

[dev-dependencies]
cargo_metadata = "0.18.1"
cargo_metadata = "0.23"
ui_test = "0.30.2"
regex = "1.5.5"
serde = { version = "1.0.145", features = ["derive"] }
Expand Down
1 change: 1 addition & 0 deletions src/tools/clippy/book/src/lint_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -928,6 +928,7 @@ The minimum rust version that the project supports. Defaults to the `rust-versio
* [`manual_let_else`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_let_else)
* [`manual_midpoint`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_midpoint)
* [`manual_non_exhaustive`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_non_exhaustive)
* [`manual_noop_waker`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_noop_waker)
* [`manual_option_as_slice`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_option_as_slice)
* [`manual_pattern_char_comparison`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison)
* [`manual_range_contains`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains)
Expand Down
2 changes: 1 addition & 1 deletion src/tools/clippy/clippy_config/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clippy_config"
version = "0.1.96"
version = "0.1.97"
edition = "2024"
publish = false

Expand Down
1 change: 1 addition & 0 deletions src/tools/clippy/clippy_config/src/conf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,7 @@ define_Conf! {
manual_let_else,
manual_midpoint,
manual_non_exhaustive,
manual_noop_waker,
manual_option_as_slice,
manual_pattern_char_comparison,
manual_range_contains,
Expand Down
4 changes: 2 additions & 2 deletions src/tools/clippy/clippy_lints/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clippy_lints"
version = "0.1.96"
version = "0.1.97"
description = "A bunch of helpful lints to avoid common pitfalls in Rust"
repository = "https://github.com/rust-lang/rust-clippy"
readme = "README.md"
Expand All @@ -10,7 +10,7 @@ edition = "2024"

[dependencies]
arrayvec = { version = "0.7", default-features = false }
cargo_metadata = "0.18"
cargo_metadata = "0.23"
clippy_config = { path = "../clippy_config" }
clippy_utils = { path = "../clippy_utils" }
declare_clippy_lint = { path = "../declare_clippy_lint" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,16 @@ impl<'tcx> LateLintPass<'tcx> for ArbitrarySourceItemOrdering {
cur_f = Some(field);
}
},
ItemKind::Trait(_constness, is_auto, _safety, _impl_restriction, _ident, _generics, _generic_bounds, item_ref)
if self.enable_ordering_for_trait && *is_auto == IsAuto::No =>
{
ItemKind::Trait(
_constness,
is_auto,
_safety,
_impl_restriction,
_ident,
_generics,
_generic_bounds,
item_ref,
) if self.enable_ordering_for_trait && *is_auto == IsAuto::No => {
let mut cur_t: Option<(TraitItemId, Ident)> = None;

for &item in *item_ref {
Expand Down
7 changes: 5 additions & 2 deletions src/tools/clippy/clippy_lints/src/booleans.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ declare_clippy_lint! {
/// Ignores short circuiting behavior of `||` and
/// `&&`. Ignores `|`, `&` and `^`.
///
/// Creates a big toll on performance, **only enable sporadically**
///
/// ### Example
/// ```ignore
/// if a && true {}
Expand All @@ -43,7 +45,7 @@ declare_clippy_lint! {
/// ```
#[clippy::version = "pre 1.29.0"]
pub NONMINIMAL_BOOL,
complexity,
pedantic,
"boolean expressions that can be written more concisely"
}

Expand All @@ -57,6 +59,7 @@ declare_clippy_lint! {
///
/// ### Known problems
/// Ignores short circuiting behavior.
/// Creates a big toll on performance, **only enable sporadically**
///
/// ### Example
/// ```rust,ignore
Expand All @@ -70,7 +73,7 @@ declare_clippy_lint! {
/// ```
#[clippy::version = "pre 1.29.0"]
pub OVERLY_COMPLEX_BOOL_EXPR,
correctness,
pedantic,
"boolean expressions that contain terminals which can be eliminated"
}

Expand Down
Loading
Loading