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

Parse generic associated type equality constraint #1001

Merged
merged 2 commits into from
Mar 29, 2021
Merged

Parse generic associated type equality constraint #1001

merged 2 commits into from
Mar 29, 2021

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Mar 29, 2021

Fixes #979.

    error: this `if` statement can be collapsed
       --> src/path.rs:255:17
        |
    255 | /                 if match &argument {
    256 | |                     Type::Path(argument)
    257 | |                         if argument.qself.is_none()
    258 | |                             && argument.path.leading_colon.is_none()
    ...   |
    281 | |                     }
    282 | |                 }
        | |_________________^
        |
        = note: `-D clippy::collapsible-if` implied by `-D clippy::all`
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
@dtolnay dtolnay merged commit 725fca7 into master Mar 29, 2021
@dtolnay dtolnay deleted the gat branch March 29, 2021 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parse generic associated type equality constraint
1 participant