-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
-Znext-solver: "normalize" signature before checking it mentions self in deduce_closure_signature
#135892
-Znext-solver: "normalize" signature before checking it mentions self in deduce_closure_signature
#135892
Conversation
changes to |
// such aliases while having a different `GoalSource`. Closure signature inference | ||
// however can't really handle *every* higher ranked `Fn` goal also being present | ||
// in the form of `?c: Fn<(<?x as Trait<'!a>>::Assoc)`. |
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.
This comment feels a bit detached from where closure signature inference is located xd
@bors r+ rollup |
…malized, r=lcnr -Znext-solver: "normalize" signature before checking it mentions self in `deduce_closure_signature` Fixes rust-lang/trait-system-refactor-initiative#138 r? `@lcnr` Tbh I wrote so much comments I don't feel like writing it all again but as a description.
heads up this seems to have caused some failure here #136184 (comment) |
@bors r- |
I vaguelly remember that test failure from one of my new solver PRs recently, probably should rebase |
433c887
to
356b2aa
Compare
@bors r=lcnr |
…malized, r=lcnr -Znext-solver: "normalize" signature before checking it mentions self in `deduce_closure_signature` Fixes rust-lang/trait-system-refactor-initiative#138 r? `@lcnr` Tbh I wrote so much comments I don't feel like writing it all again but as a description.
…iaskrgr Rollup of 9 pull requests Successful merges: - rust-lang#135869 (Make docs for AtomicUsize::from_mut platform-independent) - rust-lang#135892 (-Znext-solver: "normalize" signature before checking it mentions self in `deduce_closure_signature`) - rust-lang#136055 (Implement MIR const trait stability checks) - rust-lang#136066 (Pass spans to `perform_locally_in_new_solver`) - rust-lang#136071 ([Clippy] Add vec_reserve & vecdeque_reserve diagnostic items) - rust-lang#136124 (Arbitrary self types v2: explain test.) - rust-lang#136149 (Flip the `rustc-rayon`/`indexmap` dependency order) - rust-lang#136173 (Update comments and sort target_arch in c_char_definition) - rust-lang#136178 (Update username in build helper example) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#135892 - BoxyUwU:next_solver_deduce_sig_normalized, r=lcnr -Znext-solver: "normalize" signature before checking it mentions self in `deduce_closure_signature` Fixes rust-lang/trait-system-refactor-initiative#138 r? ``@lcnr`` Tbh I wrote so much comments I don't feel like writing it all again but as a description.
Fixes rust-lang/trait-system-refactor-initiative#138
r? @lcnr
Tbh I wrote so much comments I don't feel like writing it all again but as a description.