Uh oh!
There was an error while loading. Please reload this page.
Forbid non-structural_match types in const generics - #65627
Conversation
rust-highfive
commented
Oct 20, 2019
Some changes occurred in diagnostic error codes |
rust-highfive
commented
Oct 20, 2019
(rust_highfive has picked a reviewer for you, use r? to override) |
petrochenkov
commented
Oct 20, 2019
IIRC, resolve had some hack making sure that generic parameters cannot be used in const generics. |
This comment has been minimized.
This comment has been minimized.
varkor
commented
Oct 20, 2019
@petrochenkov: just remembered this too — working on that now. |
Centril
commented
Oct 20, 2019
Shouldn't this use the mechanism in #65519? |
Centril
commented
Oct 20, 2019
(cc @pnkfelix) |
This comment has been minimized.
This comment has been minimized.
varkor
commented
Oct 20, 2019
@Centril: this is compatible with that PR (up to rebasing). |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
9e66c91 to
ee55bccCompare
This comment has been minimized.
This comment has been minimized.
ee55bcc to
161fab9Comparevarkor
commented
Oct 21, 2019
@petrochenkov: I've removed the hack from resolve. |
This comment has been minimized.
This comment has been minimized.
54eac6a to
2dda8adComparepetrochenkov
commented
Oct 22, 2019
@bors r+ |
bors
commented
Oct 22, 2019
📌 Commit 2dda8ad has been approved by |
bors
commented
Oct 22, 2019
🌲 The tree is currently closed for pull requests below priority 1000, this pull request will be tested once the tree is reopened |
varkor
commented
Oct 23, 2019
@bors rollup |
…ructural_match, r=petrochenkov Forbid non-`structural_match` types in const generics Fixesrust-lang#60286.
…ructural_match, r=petrochenkov Forbid non-`structural_match` types in const generics Fixesrust-lang#60286.
Rollup of 8 pull requests Successful merges: - #65625 (Turn crate store into a resolver output) - #65627 (Forbid non-`structural_match` types in const generics) - #65710 (Update cargo) - #65729 (Update test cases for vxWorks) - #65746 (Tweak format string error to point at arguments always) - #65753 (Don't assert for different instance on impl trait alias) - #65755 (Avoid ICE when adjusting bad self ty) - #65766 (Update hashbrown to 0.6.2) Failed merges: r? @ghost
Fixes#60286.