cocodery
bd6e9202b4
modify check that any macros will be ingored in this lint, and add test
2024-01-06 14:12:41 +08:00
y21
bc22407b79
add tests, lint on while let true
and matches!(.., true)
2023-12-16 17:40:32 +01:00
Guillaume Gomez
a05d3a4137
Automatic generation of error annotations for ui tests
2023-08-22 17:18:11 +02:00
Oli Scherer
3d88fae050
Update ui test crate
2023-08-11 14:02:28 +00:00
Centri3
26f50395ba
Add needless_if
lint
2023-06-10 06:51:03 -05:00
y21
05f78e530a
allow the lint in a bunch of tests
2023-06-06 22:56:57 +02:00
disco07
e4927f98fa
change booleans file and update tests
2023-05-31 00:17:26 +02:00
disco07
d3534a6521
fix issues 10836
2023-05-30 07:43:10 +02:00
blyxyas
36047b0216
Fix nonminimal_bool
#[allow]
attributes.
2023-04-02 16:18:03 +02:00
Samuel "Sam" Tardieu
b138bb587b
Do not propose to simplify a not expression coming from a macro
2023-03-22 01:12:52 +01:00
kraktus
d50f366612
Do not expand macro in nonminimal_bool
suggestions
2022-09-10 19:48:14 +02:00
xFrednet
b6ee6bba4c
Fix #[expect]
for clippy::nonminimal_bool
2022-06-25 14:16:30 +02:00
David Tolnay
c2783c1dcb
Downgrade many_single_char_names to pedantic
2021-09-14 09:59:06 -07: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