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

Structured suggestion when not using struct pattern #74211

Merged
merged 1 commit into from
Jul 14, 2020

Commits on Jul 14, 2020

  1. Suggest struct pat on incorrect unit or tuple pat

    When encountering a unit or tuple pattern for a struct-like item, suggest
    using the correct pattern.
    
    Use `insert_field_names_local` when evaluating variants and store field
    names even when the list is empty in order to produce accurate
    structured suggestions.
    estebank committed Jul 14, 2020
    Configuration menu
    Copy the full SHA
    0429820 View commit details
    Browse the repository at this point in the history