-
Couldn't load subscription status.
- Fork 13.9k
Check assoc consts and tys later like assoc fns #143519
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
This comment has been minimized.
This comment has been minimized.
2c73999 to
c90150b
Compare
This comment has been minimized.
This comment has been minimized.
c90150b to
4cf632b
Compare
4cf632b to
889582e
Compare
|
@rustbot ready |
|
@bors r+ |
|
@rust-timer build eca1577 Checking for #143888. |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (eca1577): 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 -0.8%, secondary 4.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -4.6%)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: 465.776s -> 464.957s (-0.18%) |
|
This PR caused the small perf. regression in #143888. @petrochenkov Do you think there's something to improve here, or do we just eat the regression, since this was a lint improvement? |
|
Associated type resolution can be improved - #143519 (comment). Although I'm not sure this is the source of the regression here. |
This PR
For assoc consts, considering
Current this will produce unused
Iinstead of unusedTrandFoo(play), becauseconst I: Self = Foo;will be added into the worklist at first:This also happens to assoc tys, see the new test
Fixes #126729
r? @petrochenkov