-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Point at overlapping impls when type annotations are needed #89427
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit ce9b15e5fe151c352daef9a952be011112cfe881 with merge 96d6dfc04cc7ea021ad7b494bfbb0041be4e083c... |
This comment has been minimized.
This comment has been minimized.
ce9b15e
to
a6b9719
Compare
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit a6b97196c4c1ff8acf22d3b2f27848de9c325a4e with merge 19148e7dc43cf0314f81a60dd944631ca719942c... |
r? @rust-lang/wg-traits |
It didn't work, selecting a random active member. |
This comment has been minimized.
This comment has been minimized.
☀️ Try build successful - checks-actions |
Queued 19148e7dc43cf0314f81a60dd944631ca719942c with parent 69eb996, future comparison URL. |
Finished benchmarking commit (19148e7dc43cf0314f81a60dd944631ca719942c): comparison url. Summary: This change led to moderate relevant improvements 🎉 in compiler performance.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR led to changes in compiler perf. @bors rollup=never |
Yeah, should be "rust-lang/traits", but it might be prudent to make "wg-traits" an alias for that. |
7c1f014
to
4a85552
Compare
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.
this looks good to me! I didn't give it a detailed read, though, so maybe better for @spastorino or others to look a touch more closely at the code.
☔ The latest upstream changes (presumably #89576) made this pull request unmergeable. Please resolve the merge conflicts. |
4a85552
to
cb807e7
Compare
@spastorino ping |
help: consider specifying the type arguments in the function call | ||
| | ||
LL | test::<T, U>(22, std::default::Default::default()); | ||
| ++++++++ |
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.
Here we should try and figure out that T
is a type we can infer, while U
is not, for a more targeted suggestion.
cb807e7
to
8c2bed8
Compare
@bors r=jackh726 |
📌 Commit 8c2bed87beb9558feaa310a2dc8d93f67edf2705 has been approved by |
⌛ Testing commit 8c2bed87beb9558feaa310a2dc8d93f67edf2705 with merge 3296562b6104d82890a18c6ce7073df9032be3f9... |
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
8c2bed8
to
881a50c
Compare
@bors r=jackh726 |
📌 Commit 881a50c has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (41d8c94): comparison url. Summary: This benchmark run did not return any relevant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
Address #89254.