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

Mark Report as #[must_use] #73

Merged
merged 1 commit into from
Mar 30, 2022
Merged

Mark Report as #[must_use] #73

merged 1 commit into from
Mar 30, 2022

Commits on Mar 30, 2022

  1. Mark Report as #[must_use]

    Not using the error type after construction is a common mistake. This can also easily happen with the provided macros, when using `eyre!` instead of `eyre::bail!`. By marking the type as `#[must_use]`, the compiler warns us in such cases.
    phil-opp committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    ce31c1c View commit details
    Browse the repository at this point in the history