-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Fix incorrect suggestion for enum variant #146672
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
base: master
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Actually you don't need fn_traits, |
This comment has been minimized.
This comment has been minimized.
Does this also fix #146706? |
Not automatically fixed. But this bug also seems to be related with garbled suggestions generating overlapping spans. |
will conflict with #146731 |
I think these commits deserve some squashing (though I realize now that this is a draft, feedback may be premature) |
…eneric on variant of type-aliased enum
cf2fc3d
to
c1ed215
Compare
//@ only-linux | ||
//@ compile-flags: --error-format=human --color=always |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
//@ only-linux | |
//@ compile-flags: --error-format=human --color=always |
I know this is a WIP PR but please don't keep this test Linux exclusive (that's just worse DX for Windows rustc devs) and don't keep it as an SVG test, there's no reason to add a 1100 line SVG for this diagnostic.
This PR fixes #130395, fixes #146261, fixes #146586 and fixes #146706.