Skip to content
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

Need to document how method resolution ambiguties are/aren't resolved #104783

Closed
pnkfelix opened this issue Nov 23, 2022 · 1 comment
Closed

Need to document how method resolution ambiguties are/aren't resolved #104783

pnkfelix opened this issue Nov 23, 2022 · 1 comment
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools

Comments

@pnkfelix
Copy link
Member

Location

Summary

Spawned off of #81211 (comment)

We need better documentation of the method resolution rules, in terms of how ambiguities are resolved (to either a single method or to a method ambiguity error).

I wrote tests in PR #81294 that tried to enumerate the relevant combinations; see:

But we still need better docs in the reference

@pnkfelix pnkfelix added the A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools label Nov 23, 2022
@pnkfelix pnkfelix changed the title Need to document how method resolution ambigutie are/aren't resolved Need to document how method resolution ambiguties are/aren't resolved Nov 23, 2022
@pnkfelix
Copy link
Member Author

pnkfelix commented Nov 23, 2022

oops this doesn't belong here;

filed under rust-lang/reference#1308 instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools
Projects
None yet
Development

No branches or pull requests

1 participant