diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-09-10 21:55:06 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-09-10 21:55:06 +0100 |
commit | 868f4b57561cab3f537c9c5d0c9ad78fc4703891 (patch) | |
tree | 217405b14f2b57de8739166045b625cbb3e9cacb /crates/ide/src/extend_selection.rs | |
parent | 5c336e266fe09ae9ae6e634513d441cbcde63696 (diff) | |
parent | 023e3a1deaff4e8780eb5eb5f660bf193cbe384d (diff) |
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 <[email protected]>
Diffstat (limited to 'crates/ide/src/extend_selection.rs')
0 files changed, 0 insertions, 0 deletions