rust/crates
Aleksey Kladov efa069d288 internal: start new diagnostics API
At the moment, this moves only a single diagnostic, but the idea is
reafactor the rest to use the same pattern. We are going to have a
single file per diagnostic. This file will define diagnostics code,
rendering range and fixes, if any. It'll also have all of the tests.
This is similar to how we deal with assists.

After we refactor all diagnostics to follow this pattern, we'll probably
move them to a new `ide_diagnostics` crate.

Not that we intentionally want to test all diagnostics on this layer,
despite the fact that they are generally emitted in the guts on the
compiler. Diagnostics care to much about the end presentation
details/fixes to be worth-while "unit" testing. So, we'll unit-test only
the primary output of compilation process (types and name res tables),
and will use integrated UI tests for diagnostics.
2021-06-13 14:55:45 +03:00
..
base_db clippy::redudant_borrow 2021-06-13 09:24:16 +05:30
cfg internal: expose cfg attrs from hir::Crate 2021-05-07 23:50:24 +03:00
flycheck Use package root as cargo check working directory 2021-05-12 19:50:52 -07:00
hir internal: start new diagnostics API 2021-06-13 14:55:45 +03:00
hir_def internal: start new diagnostics API 2021-06-13 14:55:45 +03:00
hir_expand cargo fmt 2021-06-13 09:48:15 +05:30
hir_ty minor: put a mark back 2021-06-13 11:49:32 +03:00
ide internal: start new diagnostics API 2021-06-13 14:55:45 +03:00
ide_assists Merge #9242 2021-06-13 07:18:49 +00:00
ide_completion internal: check that coverage marks are always paired 2021-06-13 13:13:26 +03:00
ide_db cargo fmt 2021-06-13 09:48:15 +05:30
ide_ssr clippy::redundant_field_names 2021-06-13 09:40:22 +05:30
mbe clippy::redundant_field_names 2021-06-13 09:40:22 +05:30
parser Update ungrammar 2021-06-11 18:34:30 +02:00
paths Clearer naming 2021-04-06 16:22:26 +03:00
proc_macro_api cargo fmt 2021-06-13 09:48:15 +05:30
proc_macro_srv cargo fmt 2021-06-13 09:48:15 +05:30
proc_macro_test Build test-macros in a build script 2021-06-09 17:16:52 +02:00
profile minor: squelch "unused" warning 2021-06-12 15:10:07 +03:00
project_model clippy::redudant_borrow 2021-06-13 09:24:16 +05:30
rust-analyzer clippy::useless_return 2021-06-13 09:35:29 +05:30
stdx Don't compare ast::Visibility by stringifying 2021-05-20 17:45:59 +02:00
syntax clippy::manual_str_repeat 2021-06-13 09:37:28 +05:30
test_utils Apply a few clippy suggestions 2021-06-03 11:46:03 +02:00
text_edit Avoid turning completion objects into builders 2020-11-16 23:16:41 +02:00
toolchain Add description for crates that will be published 2020-08-24 13:07:22 +02:00
tt clippy::manual_str_repeat 2021-06-13 09:37:28 +05:30
vfs clippy::redudant_borrow 2021-06-13 09:24:16 +05:30
vfs-notify Fix slow tests sometimes failing 2021-02-12 16:31:16 +01:00