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

cargo check complains about main() being unused #3445

Closed
jrmuizel opened this issue Dec 22, 2016 · 1 comment
Closed

cargo check complains about main() being unused #3445

jrmuizel opened this issue Dec 22, 2016 · 1 comment

Comments

@jrmuizel
Copy link

running cargo check on a binary crate gives:

warning: function is never used: `main`, #[warn(dead_code)] on by default
   --> main.rs:86:1
    |
86  | fn main() {
    | ^
@alexcrichton
Copy link
Member

I believe this is a dupe of rust-lang/rust#38273, but thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants