Fix incorrect suggestion for enum variant#146672
Fix incorrect suggestion for enum variant#146672NKID00 wants to merge 1 commit intorust-lang:mainfrom
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.
| //@ 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.
|
☔ The latest upstream changes (presumably #147957) made this pull request unmergeable. Please resolve the merge conflicts. |
This PR fixes #130395, fixes #146261, fixes #146586 and fixes #146706.