Uh oh!
There was an error while loading. Please reload this page.
Remove TypeckResults from InferCtxt - #101632
Conversation
rust-highfive
commented
Sep 9, 2022
r? @oli-obk (rust-highfive has picked a reviewer for you, use r? to override) |
rustbot
commented
Sep 9, 2022
bors
commented
Sep 11, 2022
☔ The latest upstream changes (presumably #98559) made this pull request unmergeable. Please resolve the merge conflicts. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
lcnr
left a comment
There was a problem hiding this comment.
really happy about this PR as it is something i've wanted to do myself for quite a while ❤️
some nits and further suggestions, but this looks pretty good already
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
lcnr
commented
Sep 12, 2022
r? @lcnr |
4c43c71 to
ce7f171Comparecamsteffen
commented
Sep 20, 2022
I don't know where to start with the failing rustdoc tests 😤 |
This comment has been minimized.
This comment has been minimized.
bors
commented
Sep 20, 2022
☔ The latest upstream changes (presumably #102061) made this pull request unmergeable. Please resolve the merge conflicts. |
lcnr
commented
Sep 21, 2022
🤔 i also can't tell why rustdoc is failing 😅 maybe look at the actually generated docs for the smallest failing test to check whether there are any user-visible changes? 🤔 |
ce7f171 to
6da620cCompare
|
camsteffen
commented
Sep 29, 2022
@rustbot ready |
This comment has been minimized.
This comment has been minimized.
6da620c to
d68bfb9CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
should these be on TypeErrCtxt instead?
There was a problem hiding this comment.
Maybe? I was being conservative, only moving stuff to TypeErrCtxt if it needs TypeckResults.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
lcnr
commented
Oct 3, 2022
small nits which we can fix in a followup pr prone to merge conflicts: |
bors
commented
Oct 3, 2022
📌 Commit d68bfb9012f16c29c52dea118439dc1c8d4354a5 has been approved by It is now in the queue for this repository. |
bors
commented
Oct 7, 2022
bors
commented
Oct 7, 2022
☀️ Test successful - checks-actions |
rust-timer
commented
Oct 7, 2022
Finished benchmarking commit (43c22af): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Footnotes |
lcnr
commented
Oct 10, 2022
oh wow, should have definitely run perf before approving this 😅 i guess this resulted in a lot of small inlining/optimization changes, might be worth to check out the flamegraph comparison of a few regressions to check if we can maybe fix them by putting |
rylev
commented
Oct 11, 2022
@lcnr@camsteffen I ran callgrind diff on one of the benchmarks. Looks |
camsteffen
commented
Oct 11, 2022
Thanks @rylev. I think it might be |
rylev
commented
Oct 11, 2022
@camsteffen the symbol is a bit hard to parse. It seems like it's not the function but possibly a closure inside of that function? Might require some experimentation. |
camsteffen
commented
Oct 11, 2022
Probably this closure, and if |
camsteffen
commented
Oct 13, 2022
|
nnethercote
commented
Oct 13, 2022
|
camsteffen
commented
Oct 13, 2022
Thanks @nnethercote. I'll gladly ignore that. |
… r=cjgillot Make `overlapping_impls` not generic Trying to win back perf from rust-lang#101632.
InferCtxtcurrently hasin_progress_typeck_resultswhich is only used for some diagnostics during typeck. It adds a lifetime which propagates through a lot of code. This PR moves that field into a new helper structTypeErrCtxt.