You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like rust-analyzer's custom parser does not support leading | in patterns. I filed an issue here.
In the meantime I recommend removing the leading | and ignoring that code by placing // prettier-ignore above it.
This issue has been fixed in rust-analyzer.
From what I understand the fix should be part of next week's release, or tomorrow if you use rust-analyzer nightly.
Input code
Output code
Additional context
Insert extra symbols after format.
.
The text was updated successfully, but these errors were encountered: