-
Notifications
You must be signed in to change notification settings - Fork 13.7k
consider item bounds for non-yet-defined opaque types #146329
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
consider item bounds for non-yet-defined opaque types #146329
Conversation
This comment has been minimized.
This comment has been minimized.
☔ The latest upstream changes (presumably #146333) made this pull request unmergeable. Please resolve the merge conflicts. |
c3adc9d
to
5c29fd3
Compare
This comment has been minimized.
This comment has been minimized.
d8001d5
to
cd7358d
Compare
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
consider item bounds for non-yet-defined opaque types
This comment has been minimized.
This comment has been minimized.
cd7358d
to
a156ca8
Compare
8b1988d
to
fba7203
Compare
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (86e299c): comparison URL. Overall result: ❌ regressions - please read the text belowBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient writing along with @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 2.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 3.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 469.26s -> 469.264s (0.00%) |
damn, these regressions are tiny. gamer! |
@bors r=BoxyUwU |
gamer! |
fba7203
to
cf224ea
Compare
This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
@bors r=BoxyUwU |
Giving this a priority bump over the rollup=iffy PR in case the rollup fails. @bors p=1 |
☀️ Test successful - checks-actions |
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 408eacf (parent) -> a171994 (this PR) Test differencesShow 63 test diffsStage 1
Stage 2
Additionally, 35 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 a171994070dc18c3a32fc1aa2d98cf03ae96b63e --output-dir test-dashboard And 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 (a171994): comparison URL. Overall result: ❌ regressions - please read the text belowOur benchmarks found a performance regression caused by this PR. Next Steps:
@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)Results (secondary -2.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeResults (secondary 0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 468.519s -> 469.518s (0.21%) |
perf triage:
@rustbot label: +perf-regression-triaged |
Based on #140405.
fixes rust-lang/trait-system-refactor-initiative#182
fixes rust-lang/trait-system-refactor-initiative#196
fixes rust-lang/trait-system-refactor-initiative#205
there's some jank here, see rust-lang/trait-system-refactor-initiative#229
Design
If the self type is an inference variable which has been sub-unified with am opaque type, we need to incompletely guide inference to avoid breakage.
In this case, we
Even if there are applicable candidates, we always force their certainty to be
Maybe
, so they will always have to be reproven once we've constrained the inference variable.This is a bit iffy, see the added tests.
r? @BoxyUwU