Samuel Tardieu
b32ad4ce0a
Use parentheses when needed in nonminimal_bool lint
...
Since comparisons on types not implementing `Ord` (such as `f32`) are
not inverted, they must be enclosed in parentheses when they are
negated.
2025-02-10 12:47:54 +01:00
Alex Macleod
b2d0631300
Limit number of nonminimal_bool ops
2024-08-03 12:07:42 +00:00
xFrednet
1b4c281fe7
RFC 2383: Stabilize lint_reasons in Clippy 🖇️
2024-06-25 17:50:48 +02:00
Philipp Krones
7e83df4068
Merge commit ' 93f0a9a91f' into clippy-subtree-update
2024-03-07 17:19:29 +01:00
Philipp Krones
7be6e2178e
Merge commit ' 10136170fe' into clippy-subtree-update
2024-02-27 15:50:17 +01:00
Philipp Krones
f3b3d23416
Merge commit ' 60cb29c5e4' into clippyup
2024-02-08 20:24:42 +01:00
Philipp Krones
15b1edb209
Merge commit ' ac4c2094a6' into clippy-subtree-sync
2023-12-28 19:33:07 +01:00
Philipp Krones
cc61aeea54
Merge commit ' 080b587854' into clippyup
2023-08-24 21:32:12 +02:00
Philipp Krones
cb3ecf7b79
Merge commit ' 37f4c1725d' into clippyup
2023-07-02 14:59:02 +02:00
Philipp Krones
e6dc0efc00
Merge commit ' 30448e8cf9' into clippyup
2023-06-02 11:41:57 +02:00
Philipp Krones
6b95029f17
Merge commit ' 83e42a2337' into clippyup
2023-04-11 15:31:08 +02:00
Philipp Krones
8df896c076
Merge commit ' d5e2a7aca5' into clippyup
2023-03-24 14:26:19 +01:00
David Koloski
4d015293d1
Merge commit ' 7248d06384' into sync-from-clippy
2022-09-21 13:13:27 -04:00
Philipp Krones
09f5df5087
Merge commit ' 0cb0f76368' into clippyup
2022-06-30 10:50:09 +02:00
flip1995
23d5457e6d
Merge commit ' cb7915b00c' into clippyup
2021-09-28 18:03:12 +01:00
Camelid
d708b444e4
Qualify panic! as core::panic! in non-built-in core macros
...
Otherwise code like this
#![no_implicit_prelude]
fn main() {
::std::todo!();
::std::unimplemented!();
}
will fail to compile, which is unfortunate and presumably unintended.
This changes many invocations of `panic!` in a `macro_rules!` definition
to invocations of `$crate::panic!`, which makes the invocations hygienic.
Note that this does not make the built-in macro `assert!` hygienic.
2020-11-23 11:28:25 -08:00
Yuki Okushi
3885033e5f
Split up booleans ui test
2020-01-14 08:32:33 +09:00