Lukas Wirth
5264f86242
Encode edition within FileId in the hir layer
2024-07-18 08:49:10 +02:00
bors
8efe8a8528
Trigger VSCode to rename after extract variable assist is applied
...
When the user applies the "Extract Variable" assist, the cursor is
positioned at the newly inserted variable. This commit adds a command
to the assist that triggers the rename action in VSCode. This way, the
user can quickly rename the variable after applying the assist.
Fixes part of: #17579
2024-07-12 19:06:19 -07:00
Lukas Wirth
0eb7b6c7b5
Don't show unused_variables fixes if the name comes from a macro definition
2024-04-17 12:05:35 +02:00
Wyatt Herkamp
701068daf2
Verify we are not in a macro attempt 2
2024-04-15 14:11:45 -04:00
Wyatt Herkamp
0faa2940c7
Use the text range for the name. Not the entire syntax in Unused Variable Diagnostic.
2024-04-15 10:46:21 -04:00
Lukas Wirth
1915980031
fix: Fix impl Trait<Self>
causing stackoverflows
2024-04-15 15:41:20 +02:00
Lukas Wirth
bb541c38d3
fix: Ignore some warnings if they originate from within macro expansions
2024-03-17 21:30:56 +01:00
Young-Flash
562f4a2688
test: update test for unused_variables
2024-03-11 19:36:53 +08:00
Young-Flash
77136575da
feat: add fix for unused_variables
2024-03-11 19:36:53 +08:00
hkalbasi
af28458643
Downgrade unused_variables
to experimental
2023-09-30 08:38:55 +03:30
hkalbasi
7834b8fadb
Add unused_variables
native diagnostic
2023-09-24 21:29:15 +03:30