Uh oh!
There was an error while loading. Please reload this page.
Add help note when using type in place of const - #75611
Conversation
1ea9ffc to
b3481d0CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
awesome ✨
will try and review the actual code changes next week.
bors
commented
Aug 22, 2020
☔ The latest upstream changes (presumably #75797) made this pull request unmergeable. Please resolve the merge conflicts. |
rust-log-analyzer
commented
Aug 22, 2020
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
b11589d to
4a21039Comparebors
commented
Aug 30, 2020
☔ The latest upstream changes (presumably #74862) made this pull request unmergeable. Please resolve the merge conflicts. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
6abde86 to
714c59bCompareUh oh!
There was an error while loading. Please reload this page.
714c59b to
96bb2c8Comparelcnr
commented
Sep 11, 2020
@bors r+ |
bors
commented
Sep 11, 2020
📌 Commit 96bb2c8 has been approved by |
bors
commented
Sep 11, 2020
bors
commented
Sep 11, 2020
☀️ Test successful - checks-actions, checks-azure |
improve type const mismatch errors Doesn't completely remove `check_generic_arg_count` as that would have required some more complex changes but instead checks type and const params in only one step. Also moved the help added by `@JulianKnodt` in rust-lang#75611 to `generic_arg_mismatch_err`. r? `@varkor` cc `@petrochenkov`
This adds a small help note when it might be possible that wrapping a parameter in braces might resolve the issue of having a type where a const was expected.
Currently, I am displaying the
HirId, and I'm not particularly sure where to get the currently displayed path(?).r? @lcnr