diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-06-03 07:16:45 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-03 07:16:45 +0100 |
commit | 6d38351db420bd7d069d17783f83b8936ffe361b (patch) | |
tree | 617ec9754a237837f358a0420ec42084173a146c /crates/ra_syntax/test_data/lexer/err | |
parent | dff8140a2e9de8b6d9c64cfcc9a8d16db3a0fecd (diff) | |
parent | 599c105e6fabb2b81c2d0a11b86c0c96f6ab1b88 (diff) |
Merge #4721
4721: Hide squiggly for unused and unnecessary diagnostics r=matklad a=GabbeV
Fixes #4229
When working with JavaScript or TypeScript in VSCode unused valiables are faded but don't have a squiggle. This PR makes rust-analyzer work similarly by setting the severity to hint when applying the unnecessary tag.
VSCode usually shows a squiggle for error, warning and information and shows three dots for hint. When the unnecessary tag is present the squiggles will still show up but the three dots will not.
This is my first contribution to open source. Please tell me if i need to do anything more to get this PR considered.
Co-authored-by: Gabriel Valfridsson <[email protected]>
Diffstat (limited to 'crates/ra_syntax/test_data/lexer/err')
0 files changed, 0 insertions, 0 deletions