-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
resolve: strange corner case in overlapping method names #18674
Comments
I plan to open a PR soon for a revamp of method resolution. This code compiles successfully on that branch. |
This was referenced Nov 6, 2014
bors
added a commit
that referenced
this issue
Nov 8, 2014
…2, r=nrc This is a pretty major refactoring of the method dispatch infrastructure. It is intended to avoid gross inefficiencies and enable caching and other optimizations (e.g. #17995), though it itself doesn't seem to execute particularly faster yet. It also solves some cases where we were failing to resolve methods that we theoretically should have succeeded with. Fixes #18674. cc #18208
bors
added a commit
that referenced
this issue
Nov 17, 2014
…2, r=nrc This is a pretty major refactoring of the method dispatch infrastructure. It is intended to avoid gross inefficiencies and enable caching and other optimizations (e.g. #17995), though it itself doesn't seem to execute particularly faster yet. It also solves some cases where we were failing to resolve methods that we theoretically should have succeeded with. Fixes #18674. cc #18208
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
Dec 16, 2024
Show expansion errors in expand_macro feature
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following code fails to compile:
with the error
As noted above, this seems to depend on one of the traits using generics.
Real code this is blocking: #18638
cc @nikomatsakis
cc @japaric
The text was updated successfully, but these errors were encountered: