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

Warnings emited when building #123

Open
4 tasks
john-parton opened this issue Aug 12, 2020 · 0 comments
Open
4 tasks

Warnings emited when building #123

john-parton opened this issue Aug 12, 2020 · 0 comments

Comments

@john-parton
Copy link

On master, cargo build emits 237 warnings.

Here are the different kinds of warnings:

  • warning: trait objects without an explicit dyn are deprecated
  • ... range patterns are deprecated
  • unreachable pattern (this one has to do with the fact that Rust wasn't able to tell when a match pattern was exhaustive if you used all of the scalar values for a type, but now it appears to handle that correctly)
  • use of deprecated item 'try': use the ? operator instead

You can run cargo build -v 2>&1 | grep warning | sort | uniq to get a summary.

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

1 participant