Normalize both arguments of equate_normalized_input_or_output#90801
Normalize both arguments of equate_normalized_input_or_output#90801bors merged 2 commits intorust-lang:masterfrom
equate_normalized_input_or_output#90801Conversation
8399cf1 to
d8d2c3b
Compare
This comment has been minimized.
This comment has been minimized.
|
Don't understand why this fails to build in CI, compiles locally. Is |
Quoting the doc: |
There was a problem hiding this comment.
Why not just return both the Ty and constraints together?
There was a problem hiding this comment.
Or better...just add the constraints here because we have self.
There was a problem hiding this comment.
And just take constraints by value.
There was a problem hiding this comment.
I think both these tests would be better with the other normalize under binder tests. This one uses GATs, but is not a GATs issue. The other doesn't even use GATs.
d8d2c3b to
4b977f3
Compare
Thanks for the answer. |
|
@jackh726 thanks for the review, addressed your comments. |
There was a problem hiding this comment.
Sorry, for the location I meant src/test/ui/higher-rank-trait-bounds/normalize-under-binder
There was a problem hiding this comment.
I forget, what are we not destructoring? For a bit, I thought we were ignoring obligations, but then I realized we switched to using a TypeOp (good idea).
There was a problem hiding this comment.
canonicalized_query: Option<Canonical<'tcx, Op>>, which is only used for diagnostics purposes.
4b977f3 to
7a4aa65
Compare
|
📌 Commit 7a4aa65 has been approved by |
…e_inputs_output, r=jackh726 Normalize both arguments of `equate_normalized_input_or_output` Fixes rust-lang#90638 Fixes rust-lang#90612 Temporary fix for a more complex underlying problem stemming from an inability to normalize closure substs during typecheck. r? `@jackh726`
…e_inputs_output, r=jackh726 Normalize both arguments of `equate_normalized_input_or_output` Fixes rust-lang#90638 Fixes rust-lang#90612 Temporary fix for a more complex underlying problem stemming from an inability to normalize closure substs during typecheck. r? ``@jackh726``
…e_inputs_output, r=jackh726 Normalize both arguments of `equate_normalized_input_or_output` Fixes rust-lang#90638 Fixes rust-lang#90612 Temporary fix for a more complex underlying problem stemming from an inability to normalize closure substs during typecheck. r? ```@jackh726```
…e_inputs_output, r=jackh726 Normalize both arguments of `equate_normalized_input_or_output` Fixes rust-lang#90638 Fixes rust-lang#90612 Temporary fix for a more complex underlying problem stemming from an inability to normalize closure substs during typecheck. r? ````@jackh726````
|
⌛ Testing commit 7a4aa65 with merge 72afa80651f79e7abbf08a41813ba7cf0ed7ef5f... |
|
💔 Test failed - checks-actions |
|
The job Click to see the possible cause of the failure (guessed by this bot) |
|
@bors retry |
…e_inputs_output, r=jackh726 Normalize both arguments of `equate_normalized_input_or_output` Fixes rust-lang#90638 Fixes rust-lang#90612 Temporary fix for a more complex underlying problem stemming from an inability to normalize closure substs during typecheck. r? `@jackh726`
…e_inputs_output, r=jackh726 Normalize both arguments of `equate_normalized_input_or_output` Fixes rust-lang#90638 Fixes rust-lang#90612 Temporary fix for a more complex underlying problem stemming from an inability to normalize closure substs during typecheck. r? ``@jackh726``
…e_inputs_output, r=jackh726 Normalize both arguments of `equate_normalized_input_or_output` Fixes rust-lang#90638 Fixes rust-lang#90612 Temporary fix for a more complex underlying problem stemming from an inability to normalize closure substs during typecheck. r? ```@jackh726```
Rollup of 8 pull requests Successful merges: - rust-lang#86455 (check where-clause for explicit `Sized` before suggesting `?Sized`) - rust-lang#90801 (Normalize both arguments of `equate_normalized_input_or_output`) - rust-lang#90803 (Suggest `&str.chars()` on attempt to `&str.iter()`) - rust-lang#90819 (Fixes incorrect handling of TraitRefs when emitting suggestions.) - rust-lang#90910 (fix getting the discriminant of a zero-variant enum) - rust-lang#90925 (rustc_mir_build: reorder bindings) - rust-lang#90928 (Use a different server for checking clock drift) - rust-lang#90936 (Add a regression test for rust-lang#80772) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Fixes #90638
Fixes #90612
Temporary fix for a more complex underlying problem stemming from an inability to normalize closure substs during typecheck.
r? @jackh726