Skip to content

Suggest possible traits when none are imported #20784

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
nrc opened this issue Jan 9, 2015 · 1 comment
Closed

Suggest possible traits when none are imported #20784

nrc opened this issue Jan 9, 2015 · 1 comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints A-trait-system Area: Trait system

Comments

@nrc
Copy link
Member

nrc commented Jan 9, 2015

When we have e.foo() and there is an error because we can't find an implementation of foo we should search for any traits which include foo and suggest that the user might use one of those.

@nrc nrc added A-diagnostics Area: Messages for errors, warnings, and lints A-trait-system Area: Trait system labels Jan 9, 2015
@huonw
Copy link
Member

huonw commented Jan 9, 2015

Dupe of #7643.

@huonw huonw closed this as completed Jan 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints A-trait-system Area: Trait system
Projects
None yet
Development

No branches or pull requests

2 participants