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

Detect situations where impl Trait is preferred. #1161

Open
ticki opened this issue Aug 12, 2016 · 3 comments
Open

Detect situations where impl Trait is preferred. #1161

ticki opened this issue Aug 12, 2016 · 3 comments
Labels
A-lint Area: New lints E-medium Call for participation: Medium difficulty level problem and requires some initial experience. L-unnecessary Lint: Warn about unnecessary code T-middle Type: Probably requires verifiying types

Comments

@ticki
Copy link

ticki commented Aug 12, 2016

rust-lang/rust#35091

@oli-obk oli-obk added E-medium Call for participation: Medium difficulty level problem and requires some initial experience. T-middle Type: Probably requires verifiying types A-lint Area: New lints L-unnecessary Lint: Warn about unnecessary code labels Aug 12, 2016
@oli-obk
Copy link
Contributor

oli-obk commented Aug 12, 2016

should probably be allow by default, b/c it's not stable

@ticki
Copy link
Author

ticki commented Aug 12, 2016

Agreed.

@camsteffen
Copy link
Contributor

Just a note: Changing to impl Trait is a breaking change, particularly when generic parameters are specified at the call site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lint Area: New lints E-medium Call for participation: Medium difficulty level problem and requires some initial experience. L-unnecessary Lint: Warn about unnecessary code T-middle Type: Probably requires verifiying types
Projects
None yet
Development

No branches or pull requests

3 participants