-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Implement some more predicates in the new solver #107102
Implement some more predicates in the new solver #107102
Conversation
Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor |
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.
nits into r=me
39c675d
to
6aad347
Compare
@bors r=lcnr rollup (only affects new solver) |
📌 Commit 6aad347b3ccba9c14ec3321088b91e1c1a96cca0 has been approved by It is now in the queue for this repository. |
☔ The latest upstream changes (presumably #107143) made this pull request unmergeable. Please resolve the merge conflicts. |
6aad347
to
bf31150
Compare
@bors r=lcnr |
📌 Commit bf311502596cf3e6ba687b7a26c06d7eef51153b has been approved by It is now in the queue for this repository. |
This comment has been minimized.
This comment has been minimized.
bf31150
to
444cbcd
Compare
@bors r=lcnr |
…didats-4, r=lcnr Implement some more predicates in the new solver Implement a few more goals. The subtype goal specifically is important, since it's required for this code to compile: ``` fn main() { let mut x = vec![]; x.push(1i32); } ``` (I think we emit a subtype goal here because of coercion). Drive-by: Also implements `--compare-mode=next-solver` -- I've been using this locally a lot to find out what works and what doesn't. I'm also happy to split this out into another PR. r? `@lcnr`
…didats-4, r=lcnr Implement some more predicates in the new solver Implement a few more goals. The subtype goal specifically is important, since it's required for this code to compile: ``` fn main() { let mut x = vec![]; x.push(1i32); } ``` (I think we emit a subtype goal here because of coercion). Drive-by: Also implements `--compare-mode=next-solver` -- I've been using this locally a lot to find out what works and what doesn't. I'm also happy to split this out into another PR. r? ``@lcnr``
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#107102 (Implement some more predicates in the new solver) - rust-lang#107111 (Fix missing arguments issues and copy-paste bug for fluent) - rust-lang#107114 (Add note about absolute paths to Path::join) - rust-lang#107127 (Enable sanitizers for s390x-linux) - rust-lang#107152 (Migrate scraped-examples top and bottom "borders" to CSS variables) - rust-lang#107170 (Add myself to .mailmap) - rust-lang#107174 (rustdoc: Use `DefId(Map,Set)` instead of `FxHash(Map,Set)`) - rust-lang#107180 (Remove unnecessary `&format!`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Implement a few more goals. The subtype goal specifically is important, since it's required for this code to compile:
(I think we emit a subtype goal here because of coercion).
Drive-by: Also implements
--compare-mode=next-solver
-- I've been using this locally a lot to find out what works and what doesn't. I'm also happy to split this out into another PR.r? @lcnr