Skip to content

Lint for functions that don't return, but aren't written as "-> !" #448

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

Open
ghost opened this issue Nov 9, 2015 · 2 comments
Open

Lint for functions that don't return, but aren't written as "-> !" #448

ghost opened this issue Nov 9, 2015 · 2 comments
Labels
A-lint Area: New lints E-medium Call for participation: Medium difficulty level problem and requires some initial experience. T-middle Type: Probably requires verifiying types

Comments

@ghost
Copy link

ghost commented Nov 9, 2015

See rust-lang/rust#12836

@Manishearth Manishearth 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 labels Nov 9, 2015
@Manishearth
Copy link
Member

Probably should be a pedantic lint.

@llogiq
Copy link
Contributor

llogiq commented Nov 10, 2015

Also bail for trait impls. We have a lot of unreachable!() impls of std::ops traits in typenum for example.

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. T-middle Type: Probably requires verifiying types
Projects
None yet
Development

No branches or pull requests

2 participants