Michael Krasnitski
fba16e2e3a
Add extra_unused_type_parameters
lint
2023-02-02 19:37:34 -05:00
Alex Macleod
6a8b20230b
Add machine applicable suggestion for needless_lifetimes
...
Also adds a test for #5787
2023-01-31 14:12:03 +00:00
Tyler Weaver
4fde96c30e
Test needless_lifetimes within external macro
...
Signed-off-by: Tyler Weaver <maybe@tylerjw.dev>
2023-01-30 16:16:53 -07:00
Tyler Weaver
c959813bfd
needless_lifetimes: macro test
...
Signed-off-by: Tyler Weaver <maybe@tylerjw.dev>
2023-01-30 16:04:31 -07:00
Samuel Moelius
2c44398487
Adress review comments
2022-10-30 06:47:35 -04:00
Samuel Moelius
e9216d836c
Improve needless_lifetimes
2022-10-28 13:17:36 -04:00
kyoto7250
e47c5b0e03
ignore clippy::get_first
2022-05-25 09:08:25 +09:00
Max Baumann
9be3945be7
fix existing clippy tests
2022-03-30 20:12:58 +02:00
Alex Macleod
9ef6e2199c
needless_lifetimes
: ignore lifetimes in explicit self types
2022-01-22 12:27:57 +00:00
Samuel Tardieu
9bcf966e35
Add test case for clippy::needless_lifetimes
in async context
...
Edition needs to be set to 2018 due to the use of `async`.
2021-11-02 10:57:23 +01:00
Michael Howell
f882c363e2
fix(clippy): add missing allow(dyn_drop)
2021-07-18 07:57:03 -07:00
flip1995
f2f2a005b4
Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup
2021-03-12 15:30:50 +01:00
flip1995
d3d2018ead
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup
2020-11-23 13:51:04 +01:00
Eduardo Broto
50419118b4
Merge commit '645ef505da378b6f810b1567806d1bcc2856395f' into clippyup
2020-10-28 23:36:07 +01:00
flip1995
fbf2430f02
Merge commit '2f6439ae6a6803d030cceb3ee14c9150e91b328b' into clippyup
2020-10-09 12:45:29 +02:00
David Tolnay
94154cad20
Downgrade trivially_copy_pass_by_ref to pedantic
2020-04-02 18:56:10 -07:00
Michael Wright
2fdfd60569
Fix needless_lifetimes
false positive
2019-09-01 08:11:40 +02:00
Philipp Hansch
2c72026fcb
Rustup to https://github.com/rust-lang/rust/pull/61203
...
Migrates all trait objects to use `dyn`
2019-05-30 08:31:09 +02:00
Philipp Hansch
3f382999ab
Lifetimes UI test cleanup
...
* Removes an unneeded `#![warn(clippy::extra_unused_lifetimes)]` from
the `needless_lifetimes` test - the tests for those are in a different
file.
* Renames `unused_lt.{rs,stderr}` to `extra_unused_lifetimes.{rs,stderr}`
* Renames `lifetimes.{rs,stderr}` to `needless_lifetimes.{rs,stderr}`
2019-05-20 19:19:49 +02:00