Invalid suggestion: consider creating fresh reborrow in pattern #80913
Labels
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-bug
Category: This is a bug.
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
(Playground)
Errors:
if let Some(&mut *_x) = opt {}
is not valid syntax.The text was updated successfully, but these errors were encountered: