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

Show the unused type for unused_results lint #91818

Merged
merged 1 commit into from
Dec 18, 2021

Commits on Dec 12, 2021

  1. Show the unused type for unused_results lint

    I think it's helpful to know what type was unused when looking at these
    warnings. The type will likely determine whether the result *should* be
    used, or whether it should just be ignored.
    
    Including the type also matches the behavior of the `must_use` lint:
    unused `SomeType` that must be used.
    camelid committed Dec 12, 2021
    Configuration menu
    Copy the full SHA
    f53e489 View commit details
    Browse the repository at this point in the history