Invalid suggestion to use a vertical bar in let a, b = x;
#61573
Labels
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-bug
Category: This is a bug.
P-medium
Medium priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Introduced in #57008, the following program
yields the following message:
However, the suggestion
let a | b = x;
is nonsensical.The text was updated successfully, but these errors were encountered: