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

Tweak "incompatible match arms" error #58267

Merged
merged 3 commits into from
Feb 14, 2019
Merged

Commits on Feb 7, 2019

  1. Reweork incompatible match arms error

    - Point at the body expression of the match arm with the type error.
    - Point at the prior match arms explicitely stating the evaluated type.
    - Point at the entire match expr in a secondary span, instead of primary.
    - For type errors in the first match arm, the cause is outside of the
      match, treat as implicit block error to give a more appropriate error.
    estebank committed Feb 7, 2019
    Configuration menu
    Copy the full SHA
    9e934e2 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2019

  1. Configuration menu
    Copy the full SHA
    7eb6a2a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    802c897 View commit details
    Browse the repository at this point in the history