-
Notifications
You must be signed in to change notification settings - Fork 13.5k
remove has_nested
from builtin candidates
#143571
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
candidates | ||
.vec | ||
.push(SizedCandidate { has_nested: !nested.skip_binder().is_empty() }); | ||
BuiltinImplConditions::Where(_nested) => { |
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.
we could change assembly to not actually collect the nested types to avoid creating a vec only to drop it again. Doing this results in some additional code duplication so I didn't do it here 😁
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.
Yes, I'll do it in that other PR anyways lol
@bors2 try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
remove `has_nested` from builtin candidates it's no longer necessary r? types
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (8e989de): comparison URL. Overall result: ❌✅ regressions and improvements - no action neededBenchmarking 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. @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 1.7%, secondary -4.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 2.7%)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: 464.259s -> 464.483s (0.05%) |
looks like it's all just noise 😁 |
r? compiler-errors @bors r+ rollup |
Rollup of 7 pull requests Successful merges: - #142098 (Implement `int_format_into` feature) - #143567 (Point to correct argument in Func Call when Self type fails trait bound) - #143570 (consider nested cases for duplicate RPITIT) - #143571 (remove `has_nested` from builtin candidates) - #143586 (Fix wrong cache event query key) - #143589 (const-block-as-pattern: do not refer to no-longer-existing nightly feature) - #143608 (Fix in std::String docs) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #143571 - lcnr:has_nested-bb, r=compiler-errors remove `has_nested` from builtin candidates it's no longer necessary r? types
it's no longer necessary
r? types