Merge match arms
fails to take type of pattern variable into account
#9337
Labels
Merge match arms
fails to take type of pattern variable into account
#9337
In VS Code,
Merge match arms
offers to merge the two lines in theDisplay
implementation, even though the type of thex
in each is different. This will produce a type error when compiled.rust-analyzer version: f0618a8 2021-06-14 stable
rust-analyzer VS Code extension version: v0.2.637
VS Code version: 1.57.0
The text was updated successfully, but these errors were encountered: