rust-analyzer/crates
bors 2a239b9833 Auto merge of #16401 - Urhengulas:lint-table, r=Veykril
Expand lint tables && make clippy happy 🎉

This PR expands the lint tables on `./Cargo.toml` and thereby makes `cargo clippy` exit successfully! 🎉

Fixes #15918

## How?

In the beginning there are some warnings for rustc.

Next, and most importantly, there is the clippy lint table. There are a few sections in there.

First there are the lint groups.

Second there are all lints which are permanently allowed with the reasoning why they are allowed.

Third there is a huge list of temporarily allowed lints. They should be removed in the mid-term, but incur a substantial amount of work, therefore they are allowed for now and can be worked on bit by bit.

Fourth there are all lints which should warn.

Additionally there are a few allow statements in the code for lints which should be permanently allowed in this specific place, but not in the whole code base.

## Follow up work
- [ ] Run clippy in CI
- [ ] Remove tidy test (at least `@Veykril` wrote this in #15017)
- [ ] Work on temporarily allowed lints
2024-01-19 16:09:02 +00:00
..
base-db Temporarily allow all lints which occur 2024-01-19 12:52:12 +01:00
cfg Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
flycheck Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
hir minor: Make use of some new SmolStr improvements 2024-01-17 13:47:15 +01:00
hir-def Auto merge of #16401 - Urhengulas:lint-table, r=Veykril 2024-01-19 16:09:02 +00:00
hir-expand Temporarily allow all lints which occur 2024-01-19 12:52:12 +01:00
hir-ty Stub out FnAbi::partial_eq as a workaround for now 2024-01-19 15:15:23 +01:00
ide Auto merge of #16401 - Urhengulas:lint-table, r=Veykril 2024-01-19 16:09:02 +00:00
ide-assists Auto merge of #16398 - Urhengulas:satisfy-clippy, r=Veykril 2024-01-19 09:43:35 +00:00
ide-completion cargo clippy --fix 2024-01-18 13:59:49 +01:00
ide-db Auto merge of #16400 - alibektas:15656/update_bail_message_ref_config, r=Veykril 2024-01-19 14:19:11 +00:00
ide-diagnostics Auto merge of #16398 - Urhengulas:satisfy-clippy, r=Veykril 2024-01-19 09:43:35 +00:00
ide-ssr cargo clippy --fix 2024-01-18 13:59:49 +01:00
intern Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
limit Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
load-cargo fix: Fix progress reporting getting stuck 2024-01-17 13:23:00 +01:00
mbe cargo clippy --fix 2024-01-18 13:59:49 +01:00
parser Refactor macro_call to be consistent with other functions 2024-01-18 12:50:36 +01:00
paths Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
proc-macro-api Auto merge of #16312 - Veykril:win-proc-macro-srv, r=Veykril 2024-01-09 10:12:57 +00:00
proc-macro-srv Remove sysroot-abi feature flag from proc-macro-test 2024-01-10 09:53:12 +01:00
proc-macro-srv-cli Recognize proc macro server unexpectedly exiting and report the exit code 2024-01-09 10:37:26 +01:00
profile Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
project-model Fix CI 2 2024-01-18 14:18:07 +01:00
rust-analyzer Temporarily allow all lints which occur 2024-01-19 12:52:12 +01:00
sourcegen Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
span Temporarily allow all lints which occur 2024-01-19 12:52:12 +01:00
stdx move is_upper_snake_case to stdx 2024-01-16 13:37:22 +03:00
syntax feat:Record FnAbi 2024-01-19 15:15:23 +01:00
test-fixture cargo clippy --fix 2024-01-18 13:59:49 +01:00
test-utils feat: Show notable trait impls on hover 2024-01-16 19:17:33 +01:00
text-edit Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
toolchain Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
tt Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
vfs fix: Fix progress reporting getting stuck 2024-01-17 13:23:00 +01:00
vfs-notify fix: Fix progress reporting getting stuck 2024-01-17 13:23:00 +01:00