rust/crates
bors[bot] 868f4b5756
Merge #5956
5956: Highlight errors in macros r=jonas-schievink a=popzxc

Resolves #4924 

This PR makes rust-analyzer highlight not only the source place when error originates in macro, but also the exact places in macro which caused an error.

This is done by creating an inverse diagnostic, which points to the macro and cross-references the source place.

![изображение](https://user-images.githubusercontent.com/12111581/92319594-b71e6c00-f022-11ea-94c1-f412905269dd.png)


Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
2020-09-10 20:55:06 +00:00
..
arena Add TBD description to arena 2020-08-24 13:29:10 +02:00
assists Merge #5940 2020-09-04 21:54:42 +00:00
base_db Add description for crates that will be published 2020-08-24 13:07:22 +02:00
cfg Add description for crates that will be published 2020-08-24 13:07:22 +02:00
flycheck Add description for crates that will be published 2020-08-24 13:07:22 +02:00
hir Tease apart orthogonal concerns in markdown link rewriting 2020-08-26 20:24:00 +02:00
hir_def ⬆️ expect-test 2020-08-28 14:47:14 +02:00
hir_expand Bump token expansion limit 2020-09-01 14:55:41 +02:00
hir_ty Merge #5968 2020-09-09 17:20:39 +00:00
ide Document VS Code setting needed for on-typing assists 2020-09-01 23:40:53 +10:00
ide_db Add description for crates that will be published 2020-08-24 13:07:22 +02:00
mbe Add description for crates that will be published 2020-08-24 13:07:22 +02:00
parser Up proc-macro2 to 1.20 2020-09-03 17:40:12 -04:00
paths Add description for crates that will be published 2020-08-24 13:07:22 +02:00
proc_macro_api Add description for crates that will be published 2020-08-24 13:07:22 +02:00
proc_macro_srv Add description for crates that will be published 2020-08-24 13:07:22 +02:00
proc_macro_test Add description for crates that will be published 2020-08-24 13:07:22 +02:00
profile Add description for crates that will be published 2020-08-24 13:07:22 +02:00
project_model Add sysroot shortcut to rust-project.json 2020-08-25 19:41:56 +02:00
rust-analyzer Highlight errors in macros 2020-09-06 09:22:01 +03:00
ssr ⬆️ expect-test 2020-08-28 14:47:14 +02:00
stdx Add description for crates that will be published 2020-08-24 13:07:22 +02:00
syntax Merge #5940 2020-09-04 21:54:42 +00:00
test_utils Add description for crates that will be published 2020-08-24 13:07:22 +02:00
text_edit Actually assert disjointness 2020-09-03 13:37:36 +02:00
toolchain Add description for crates that will be published 2020-08-24 13:07:22 +02:00
tt Add description for crates that will be published 2020-08-24 13:07:22 +02:00
vfs Add description for crates that will be published 2020-08-24 13:07:22 +02:00
vfs-notify Add description for crates that will be published 2020-08-24 13:07:22 +02:00