New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type error pretty printer shows something strange #4286
Labels
bug
subsystem::code insight
General label for issues related to code understanding: highlighting, completion, annotation, etc.
Comments
ice1000
changed the title
Type error pretty printer issue
Type error pretty printer shows something strange
Aug 20, 2019
Also, why am I having an error here? My pattern matchings are perfectly correct. |
Actually, once |
This is related to #3996 |
mchernyavsky
added
bug
subsystem::code insight
General label for issues related to code understanding: highlighting, completion, annotation, etc.
labels
Aug 20, 2019
I have taken a look at the PR. I guess the cause is that |
bors bot
added a commit
that referenced
this issue
Aug 21, 2019
4290: Fix declaration fields escaping and underscores in struct patterns r=vlad20012 a=shevtsiv Closes #4286. <!-- Hello and thank you for the pull request! We don't have any strict rules about pull requests, but you might check https://github.com/intellij-rust/intellij-rust/blob/master/CONTRIBUTING.md for some hints! Note that we need an electronic CLA for contributions: https://github.com/intellij-rust/intellij-rust/blob/master/CONTRIBUTING.md#cla After you sign the CLA, please add your name to https://github.com/intellij-rust/intellij-rust/blob/master/CONTRIBUTORS.txt :) --> Co-authored-by: shevtsiv <rostykshevtsiv@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
subsystem::code insight
General label for issues related to code understanding: highlighting, completion, annotation, etc.
Environment
Problem description
I have a pattern match like this, and intellij-rust gives me a strange message:
It shouldn't be
Option>
. The declaration is like this:And now I've found a minimum-reproducible example:
Code for copy-pasting:
The text was updated successfully, but these errors were encountered: