-
Notifications
You must be signed in to change notification settings - Fork 14k
Consolidate two almost duplicated fn info extraction routines #106171
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
Consolidate two almost duplicated fn info extraction routines #106171
Conversation
|
r? @lcnr (rustbot has picked a reviewer for you, use r? to override) |
|
☔ The latest upstream changes (presumably #106519) made this pull request unmergeable. Please resolve the merge conflicts. |
estebank
left a comment
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.
r=me
lcnr
left a comment
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.
didn't go through it in too much detail but that seems right and esteban already reviewed it.
r=estebank,me after nit
compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs
Outdated
Show resolved
Hide resolved
ed9c5f6 to
1ef510c
Compare
|
@bors r=estebank,lcnr |
|
📌 Commit 1ef510c3a2eb74db14dc79a268975201f7f66bf7 has been approved by It is now in the queue for this repository. |
1ef510c to
24bb36e
Compare
|
Rebased @bors r=estebank,lcnr |
|
It looks like this PR still adds two files to |
…t_callable_info, r=estebank,lcnr Consolidate two almost duplicated fn info extraction routines Moves `extract_callable_info` up to trait selection, because it was being (almost) duplicated fully there for similar diagnostic purposes. This also generalizes the diagnostics we can give slightly (see UI test).
…t_callable_info, r=estebank,lcnr Consolidate two almost duplicated fn info extraction routines Moves `extract_callable_info` up to trait selection, because it was being (almost) duplicated fully there for similar diagnostic purposes. This also generalizes the diagnostics we can give slightly (see UI test).
94c8b50 to
9ab20a2
Compare
9ab20a2 to
29fcfb4
Compare
29fcfb4 to
c1a7dbc
Compare
|
@bors r=estebank,lcnr |
|
☀️ Test successful - checks-actions |
|
Finished benchmarking commit (fc11ee0): comparison URL. Overall result: ❌ regressions - no action needed@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.
CyclesThis benchmark run did not return any relevant results for this metric. |
Moves
extract_callable_infoup to trait selection, because it was being (almost) duplicated fully there for similar diagnostic purposes. This also generalizes the diagnostics we can give slightly (see UI test).