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

Point out correct turbofish usage on Foo<Bar<Baz>> #40500

Merged
merged 1 commit into from Mar 17, 2017

Commits on Mar 14, 2017

  1. Point out correct turbofish usage on Foo<Bar<Baz>>

    Whenever we parse a chain of binary operations, as long as the first
    operation is `<` and the subsequent operations are either `>` or `<`,
    present the following diagnostic help:
    
        use `::<...>` instead of `<...>` if you meant to specify type arguments
    
    This will lead to spurious recommendations on situations like
    `2 < 3 < 4` but should be clear from context that the help doesn't apply
    in that case.
    estebank committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    e3b8550 View commit details
    Browse the repository at this point in the history