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

fix(advanced_errors): Fix unit test unreachable_patterns warning #865

Closed
wants to merge 1 commit into from

Conversation

xuesongbj
Copy link
Contributor

After the code is perfected, the following warnings will appear when the unit test is executed:

  --> src/main.rs:72:13
   |
72 |             _ => write!(f, "unhandled error!"),
   |             ^
   |
   = note: `#[warn(unreachable_patterns)]` on by default

It is recommended to delete this line of code.

@shadows-withal
Copy link
Member

This should already be merged as part of #854 :)

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

Successfully merging this pull request may close these issues.

2 participants