-
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 unsizing in the new trait solver #107245
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.
r=me after nits ^^
this impl looks correct but I didn't check that it perfectly matches the existing one. Will just get test failures if there are differences cause I don't think this is unsound.
c9b9708
to
302a445
Compare
Waiting on #107146 to land. |
☔ The latest upstream changes (presumably #103902) made this pull request unmergeable. Please resolve the merge conflicts. |
302a445
to
071fa04
Compare
☔ The latest upstream changes (presumably #107309) made this pull request unmergeable. Please resolve the merge conflicts. |
071fa04
to
e444b18
Compare
e444b18
to
9902ea5
Compare
@bors r=lcnr rollup (only affects new solver) |
📌 Commit 9902ea5dd8e115d56df4ed5b0e923a9c52caa165 has been approved by It is now in the queue for this repository. |
9902ea5
to
f7fc0b7
Compare
@bors r=lcnr |
Rollup of 8 pull requests Successful merges: - rust-lang#107245 (Implement unsizing in the new trait solver) - rust-lang#107445 (Remove `GenFuture` from core) - rust-lang#107473 (Update books) - rust-lang#107476 (rustdoc: remove unnecessary wrapper `div.item-decl` from HTML) - rust-lang#107477 (Migrate last part of CSS themes to CSS variables) - rust-lang#107479 (Use `ObligationCtxt::new_in_snapshot` in `satisfied_from_param_env`) - rust-lang#107482 (rustdoc: remove meta keywords from HTML) - rust-lang#107494 (fix link in std::path::Path::display()) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This makes hello world compile! Ignore the first commit, that's just #107146 which is waiting on merge.
I'll leave some comments inline about design choices that might be debatable.
r? @lcnr (until we have a new trait solver reviewer group...)