about summary refs log tree commit diff
path: root/docs/dev/debugging.md
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-06-03 06:16:45 +0000
committerGitHub <noreply@github.com>2020-06-03 06:16:45 +0000
commit6d38351db420bd7d069d17783f83b8936ffe361b (patch)
tree617ec9754a237837f358a0420ec42084173a146c /docs/dev/debugging.md
parentdff8140a2e9de8b6d9c64cfcc9a8d16db3a0fecd (diff)
parent599c105e6fabb2b81c2d0a11b86c0c96f6ab1b88 (diff)
downloadrust-6d38351db420bd7d069d17783f83b8936ffe361b.tar.gz
rust-6d38351db420bd7d069d17783f83b8936ffe361b.zip
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 <gabriel.valfridsson@gmail.com>
Diffstat (limited to 'docs/dev/debugging.md')
0 files changed, 0 insertions, 0 deletions