-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Do not return incorrectly constrained opaques in method_autoderef_steps
#151676
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
Conversation
| // Previously we return all opaques in `method_auto_deref_steps` which normalizes the opaque | ||
| // to `u32`, causing obligations to fail. | ||
| // We shouldn't return incorrectly constrained opaques in this query. |
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.
| // Previously we return all opaques in `method_auto_deref_steps` which normalizes the opaque | |
| // to `u32`, causing obligations to fail. | |
| // We shouldn't return incorrectly constrained opaques in this query. | |
| // Previously `method_auto_deref_steps` would also return opaque | |
| // types which have already been defined in the parent context. | |
| // | |
| // We then handled these opaque types by emitting `AliasRelate` goals | |
| // when instantiating its result, assuming that operation to be infallible. | |
| // By returning opaque type constraints from the parent context and | |
| // constraining the hidden type without reproving the item bounds of | |
| // the opaque, this ended up causing ICE. |
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 comment nit
thanks ❤️
|
@bors r+ |
Do not return incorrectly constrained opaques in `method_autoderef_steps` Fixes rust-lang/trait-system-refactor-initiative#263 r? @lcnr
Do not return incorrectly constrained opaques in `method_autoderef_steps` Fixes rust-lang/trait-system-refactor-initiative#263 r? @lcnr
Do not return incorrectly constrained opaques in `method_autoderef_steps` Fixes rust-lang/trait-system-refactor-initiative#263 r? @lcnr
This comment has been minimized.
This comment has been minimized.
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing db6bc0f (parent) -> 4742769 (this PR) Test differencesShow 14 test diffsStage 1
Stage 2
Additionally, 12 doctest diffs were found. These are ignored, as they are noisy. Job group index
Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 474276961f48b0d05f4ea260ba400096b027584e --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
|
Finished benchmarking commit (4742769): comparison URL. Overall result: ❌ regressions - no action needed@rustbot label: -perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesResults (primary -2.4%, secondary 3.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.0%, secondary 0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 473.172s -> 473.418s (0.05%) |
Fixes rust-lang/trait-system-refactor-initiative#263
r? @lcnr