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

Use the same span for attributes and Try expansion of ? #130244

Merged
merged 1 commit into from
Sep 12, 2024

Commits on Sep 11, 2024

  1. Use the same span for attributes and Try expansion of ?

    This is needed for Clippy to know that the `#[allow(unused)]` attributes
    added by the expansion of `?` are part of the desugaring, and that they
    do not come from the user code.
    
    rust-lang/rust-clippy#13380 exhibits a manifestation of this problem.
    samueltardieu committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    6ee87ae View commit details
    Browse the repository at this point in the history