rust/crates/rust-analyzer/src
bors[bot] b8dfc331ab
Merge #5682
5682: Add an option to disable diagnostics r=matklad a=popzxc

As far as I know, currently it's not possible to disable a selected type of diagnostics provided by `rust-analyzer`.

This causes an inconvenient situation with a false-positive warnings: you either have to disable all the diagnostics, or you have to ignore these warnings.

There are some open issues related to this problem, e.g.: https://github.com/rust-analyzer/rust-analyzer/issues/5412, https://github.com/rust-analyzer/rust-analyzer/issues/5502

This PR attempts to make it possible to selectively disable some diagnostics on per-project basis.

Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
2020-08-18 12:04:49 +00:00
..
bin Rename ra_ssr -> ssr 2020-08-13 17:02:44 +02:00
cli Make disabled diagnostics an argument of corresponding function 2020-08-18 13:32:29 +03:00
diagnostics Rename ra_hir_def -> hir_def 2020-08-13 16:29:33 +02:00
caps.rs Handle semantic token deltas 2020-07-31 20:57:53 -04:00
cargo_target_spec.rs Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
cli.rs Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
config.rs Move analysis config structure to the config.rs 2020-08-18 13:35:36 +03:00
diagnostics.rs Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
dispatch.rs Minor 2020-06-26 00:27:57 +02:00
document.rs Handle semantic token deltas 2020-07-31 20:57:53 -04:00
from_proto.rs Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
global_state.rs Make disabled diagnostics an argument of corresponding function 2020-08-18 13:32:29 +03:00
handlers.rs Merge #5682 2020-08-18 12:04:49 +00:00
lib.rs Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
line_endings.rs Simplify 2020-06-28 01:30:45 +03:00
lsp_ext.rs Fix StatusNotification 2020-08-17 14:56:27 +03:00
lsp_utils.rs Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
main_loop.rs Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
markdown.rs Rename folder 2020-02-18 12:37:45 +01:00
reload.rs Merge #5782 2020-08-17 14:23:03 +00:00
request_metrics.rs Flatten module hierarchy 2020-06-24 18:57:30 +02:00
semantic_tokens.rs Handle semantic token deltas 2020-07-31 20:57:53 -04:00
thread_pool.rs Move TaskPool into GlobalState 2020-06-25 15:35:42 +02:00
to_proto.rs Don't make fields private unless you have to 2020-08-17 16:11:29 +02:00