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

Lint std::panic::catch_unwind #1196

llogiq opened this Issue Aug 27, 2016 · 0 comments


None yet
2 participants

llogiq commented Aug 27, 2016

This should only be used when one has no control over code that may panic, e.g. using integer division with unknown operands (although overflower should cover that, too). Otherwise, using a Result type should be the preferred way of dealing with errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment