-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Silence TooGeneric
error
#67906
Silence TooGeneric
error
#67906
Conversation
This error may be produced during intermediate failed attempts at evaluation of a generic const, which may nevertheless succeed later.
@bors r+ |
📌 Commit adb46fd has been approved by |
Silence `TooGeneric` error This error may be produced during intermediate failed attempts at evaluation of a generic const, which may nevertheless succeed later. Fixes rust-lang#66962. r? @eddyb
Rollup of 6 pull requests Successful merges: - #67800 (Fix ICE involving calling `Instance.ty` during const evaluation) - #67873 (change remove to have a PartialEq bound) - #67897 (Use `as_deref()` to replace `as_ref().map(...)`) - #67906 (Silence `TooGeneric` error) - #67912 (macros: typo fix) - #67915 (Use Self instead of $type) Failed merges: r? @ghost
thank you @varkor ! a lot of my work was blocked on this :) |
This PR needs to be reverted, and the ICE be replaced by a real error.
But for |
#68388 should fix this mistake. |
This error may be produced during intermediate failed attempts at evaluation of a generic const, which may nevertheless succeed later.
Fixes #66962.
r? @eddyb