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

Generate #[must_use] on functions returing a typedef to a must-use-type #2206

Commits on May 20, 2022

  1. Configuration menu
    Copy the full SHA
    e3d3e6c View commit details
    Browse the repository at this point in the history
  2. Restore old must_use behavior for return types

    The #[must_use] attribute does not need to be generated for functions
    returning a type that already has #[must_use] on it. Stop generating the
    extraneous attribute to restore previous behavior.
    ian-h-chamberlain committed May 20, 2022
    Configuration menu
    Copy the full SHA
    f08b8b1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b99f0df View commit details
    Browse the repository at this point in the history