Skip to content

Where is MethodMatchResult used? #41318

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

Closed
qnighy opened this issue Apr 15, 2017 · 0 comments
Closed

Where is MethodMatchResult used? #41318

qnighy opened this issue Apr 15, 2017 · 0 comments
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup.

Comments

@qnighy
Copy link
Contributor

qnighy commented Apr 15, 2017

I was looking for method resolution code in the compiler and found relevant-looking enum named MethodMatchResult. However, it seems to be used nowhere.

Is it used somewhere in the compiler, or is it just left unused?

Current behavior

MethodMatchResult seems to be unused.

Expected behavior

If it is unused, perhaps it should be removed then.

Meta

Grepped in Rust 1.16.0 compiler

@Mark-Simulacrum Mark-Simulacrum added the C-cleanup Category: PRs that clean code up or issues documenting cleanup. label Apr 15, 2017
bors added a commit that referenced this issue Apr 15, 2017
Remove MethodMatchResult and MethodMatchedData.

These two enums were unused.

Fixes #41318.

r? @nikomatsakis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup.
Projects
None yet
Development

No branches or pull requests

2 participants