rust-analyzer/crates/ide/src
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
..
annotations cargo clippy --fix 2024-01-18 13:59:49 +01:00
doc_links Auto merge of #16398 - Urhengulas:satisfy-clippy, r=Veykril 2024-01-19 09:43:35 +00:00
hover cargo clippy --fix 2024-01-18 13:59:49 +01:00
inlay_hints cargo clippy --fix 2024-01-18 13:59:49 +01:00
prime_caches Re-export FxHashMap and FxHashSet from ide_db 2022-04-25 18:51:59 +02:00
syntax_highlighting feat: IDE features for primitive tuple fields 2024-01-06 15:04:58 +01:00
typing ⬆️ rust-analyzer 2023-01-09 10:36:22 -08:00
annotations.rs fix: Deduplicate annotations 2023-12-19 08:49:00 +01:00
call_hierarchy.rs Allow navigation targets to be duplicated when the focus range lies in the macro definition site 2023-12-06 12:38:19 +01:00
doc_links.rs Auto merge of #16398 - Urhengulas:satisfy-clippy, r=Veykril 2024-01-19 09:43:35 +00:00
expand_macro.rs Builtin derives are hygienic 2024-01-08 12:50:11 +01:00
extend_selection.rs Implicit format args support 2023-12-05 17:07:00 +01:00
fetch_crates.rs cargo clippy --fix 2024-01-18 13:59:49 +01:00
file_structure.rs Merge commit 'aa9bc8612514d216f84eec218dfd19ab83f3598a' into sync-from-ra 2023-06-05 12:04:23 +03:00
fixture.rs internal: Move out WithFixture into dev-dep only crate 2023-12-18 15:24:08 +01:00
folding_ranges.rs feat: add fold range for multi line match arm list 2022-06-18 16:05:56 +08:00
goto_declaration.rs Allow navigation targets to be duplicated when the focus range lies in the macro definition site 2023-12-06 12:38:19 +01:00
goto_definition.rs remove more redundant clones manually 2024-01-07 00:26:49 +01:00
goto_implementation.rs fix: Deduplicate annotations 2023-12-19 08:49:00 +01:00
goto_type_definition.rs Allow navigation targets to be duplicated when the focus range lies in the macro definition site 2023-12-06 12:38:19 +01:00
highlight_related.rs cargo clippy --fix 2024-01-18 13:59:49 +01:00
hover.rs Notable traits for type info hovers 2024-01-16 20:15:31 +01:00
inlay_hints.rs cargo clippy --fix 2024-01-18 13:59:49 +01:00
interpret_function.rs cargo clippy --fix 2024-01-18 13:59:49 +01:00
join_lines.rs ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
lib.rs Auto merge of #16398 - Urhengulas:satisfy-clippy, r=Veykril 2024-01-19 09:43:35 +00:00
markdown_remove.rs Auto merge of #16155 - Waqar144:work/fix-16142, r=lnicola 2023-12-19 07:22:46 +00:00
markup.rs feat: Hover for literals showing additional value information 2024-01-16 14:28:47 +01:00
matching_brace.rs ⬆️ rust-analyzer 2022-08-09 07:23:57 +03:00
moniker.rs feat: IDE features for primitive tuple fields 2024-01-06 15:04:58 +01:00
move_item.rs ⬆️ rust-analyzer 2023-03-13 10:42:24 +02:00
navigation_target.rs cargo clippy --fix 2024-01-18 13:59:49 +01:00
parent_module.rs Allow navigation targets to be duplicated when the focus range lies in the macro definition site 2023-12-06 12:38:19 +01:00
prime_caches.rs Merge commit 'aa9bc8612514d216f84eec218dfd19ab83f3598a' into sync-from-ra 2023-06-05 12:04:23 +03:00
references.rs minor: Simplify 2024-01-16 13:36:07 +01:00
rename.rs Update tests 2024-01-19 15:01:46 +01:00
runnables.rs cargo clippy --fix 2024-01-18 13:59:49 +01:00
shuffle_crate_graph.rs Try to support pre and post-change metavars 2023-12-19 20:45:12 +01:00
signature_help.rs cargo clippy --fix 2024-01-18 13:59:49 +01:00
ssr.rs internal: Move out WithFixture into dev-dep only crate 2023-12-18 15:24:08 +01:00
static_index.rs Add inlay hint for exclusive ranges 2024-01-07 09:33:56 +00:00
status.rs minor: Render more crate information in status command 2024-01-01 13:32:04 +01:00
syntax_highlighting.rs fix: Don't print proc-macro panic backtraces in the logs 2023-12-06 17:49:48 +01:00
syntax_tree.rs Temporarily allow all lints which occur 2024-01-19 12:52:12 +01:00
typing.rs cargo clippy --fix 2024-01-18 13:59:49 +01:00
view_crate_graph.rs cargo clippy --fix 2024-01-18 13:59:49 +01:00
view_hir.rs fix: Fix view mir, hir and eval function not working when cursor is inside macros 2023-12-10 14:44:40 +01:00
view_item_tree.rs Merge commit 'aa9bc8612514d216f84eec218dfd19ab83f3598a' into sync-from-ra 2023-06-05 12:04:23 +03:00
view_memory_layout.rs cargo clippy --fix 2024-01-18 13:59:49 +01:00
view_mir.rs fix: Fix view mir, hir and eval function not working when cursor is inside macros 2023-12-10 14:44:40 +01:00