rust/crates/hir_ty/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
..
diagnostics Fix missing match arm false error on unknown type 2020-08-17 13:27:12 -04:00
infer Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
tests Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
traits Lookup adt names 2020-08-14 11:43:11 +02:00
autoderef.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
db.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
diagnostics.rs Merge branch 'master' into add-disable-diagnostics 2020-08-14 07:34:07 +03:00
display.rs display correctly 'impl Trait<T> + Trait<T>' #4814 2020-08-13 22:13:34 +02:00
infer.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
lib.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
lower.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
method_resolution.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
op.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
primitive.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
test_db.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
tests.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
traits.rs Chalk 0.23 2020-08-16 12:15:44 -04:00
utils.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00