Uh oh!
There was an error while loading. Please reload this page.
Remove some function fields - #80883
Conversation
GuillaumeGomez
commented
Jan 10, 2021
Let's check the perf results too while we're at it. @bors try @rust-timer queue |
rust-timer
commented
Jan 10, 2021
Awaiting bors try build completion. |
bors
commented
Jan 10, 2021
⌛ Trying commit 38100f17d2ad1a3c9f177abf49b0f1e50eb61c1e with merge 1977d4945b2c970bc1d8b2849d0eeb0d0cbb8e24... |
bors
commented
Jan 10, 2021
☀️ Try build successful - checks-actions |
rust-timer
commented
Jan 10, 2021
Queued 1977d4945b2c970bc1d8b2849d0eeb0d0cbb8e24 with parent 080ee6f, future comparison URL. @rustbot label: +S-waiting-on-perf |
rust-timer
commented
Jan 11, 2021
Finished benchmarking try commit (1977d4945b2c970bc1d8b2849d0eeb0d0cbb8e24): comparison url. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up. @bors rollup=never |
GuillaumeGomez
commented
Jan 11, 2021
Interesting: Much better than what I expected. |
jyn514
commented
Jan 11, 2021
@camelid would you like to review the change? |
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.
camelid
commented
Jan 11, 2021
I don't think I have enough knowledge of this code to be the reviewer, but I did leave a few comments. |
38100f1 to
e4d599eCompareUh 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.
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.
c006ffb to
b8e5ee6Comparebors
commented
Jan 21, 2021
☔ The latest upstream changes (presumably #81240) made this pull request unmergeable. Please resolve the merge conflicts. |
b8e5ee6 to
4c2c0b1CompareGuillaumeGomez
commented
Jan 28, 2021
I made the PR back from the start based on the lastest developments. No more need for Confirming that the performance improvement is still there: @bors try @rust-timer queue |
rust-timer
commented
Jan 28, 2021
Awaiting bors try build completion. |
bors
commented
Jan 28, 2021
⌛ Trying commit 4c2c0b152785a5826fd45430d7f6e3f087271cd9 with merge bdc8ba6d71c33ac2e37bb4e7da6544dde3d300d3... |
01d333d to
c92b161CompareGuillaumeGomez
commented
Feb 5, 2021
Rebased. |
ollie27
commented
Feb 6, 2021
There is some good cleanup here but as I've tried to say the @bors r+ |
bors
commented
Feb 6, 2021
📌 Commit c92b161 has been approved by |
bors
commented
Feb 6, 2021
⌛ Testing commit c92b161 with merge 6dd633a726a1900af8a4c6a769809093b6cf3aa1... |
bors
commented
Feb 6, 2021
💥 Test timed out |
rust-log-analyzer
commented
Feb 6, 2021
GuillaumeGomez
commented
Feb 6, 2021
@bors retry |
bors
commented
Feb 6, 2021
bors
commented
Feb 6, 2021
☀️ Test successful - checks-actions |
…=jyn514 Remove is_spotlight field from `Trait` Small PR, only the last commit is relevant here. The rest is coming from rust-lang#80883 because I need the `TyCtxt` stored inside `Cache`. The point is to make ItemKind looks as close as possible to the compiler type so that it makes the switch simpler (which is why I make all these "small" PRs). r? `@jyn514`
Based on rust-lang#80883 (comment). The `tcx` parameters do seem to be used though, so I only removed the `cache` parameters.
Same kind as #80845.
This PR removes the
all_typesandret_typesfrom theclean::Functiontype.Another change that I had to do was implementing the
Fromtrait to be able to converthir::def::DefKindintoclean::TypeKindwithout requiringDocContext(and so I updated thecleanmethod so that it's taken into account).The last two commits improve a bit the
get_real_typesfunction and theType::genericsmethod.r? @jyn514