Skip to content

E0408 needs to be updated to new format #35698

Closed

Description

@sophiajt

From: src/test/compile-fail/E0408.rs

E0408 needs a span_label, updating it from:

error[E0408]: variable `y` from pattern #1 is not bound in pattern #2
  --> src/test/compile-fail/E0408.rs:15:19
   |
15 |         Some(y) | None => {} //~ ERROR E0408
   |                   ^^^^

To:

error[E0408]: variable `y` from pattern #1 is not bound in pattern #2
  --> src/test/compile-fail/E0408.rs:15:19
   |
15 |         Some(y) | None => {} //~ ERROR E0408
   |                   ^^^^ pattern doesn't bind `y`

Activity

  1. faebser commented on Aug 16, 2016

    @faebser
    Contributor

    I'm gonna work on this, Part of #35233

  2. bstrie commented on Sep 25, 2016

    @bstrie
    Contributor

    I'm going through and freeing up issues for #35233, @faebser are you still interested in finishing this? If not, other people may be interested in basing their work off of @faebser's current PR.

  3. faebser commented on Sep 25, 2016

    @faebser
    Contributor

    @bstrie: I am still working on the PR over here: #36307

  4. removed
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    on Mar 9, 2017
  5. estebank commented on Mar 23, 2017

    @estebank
    Contributor

    This issue can be closed (changed in #39713):

    error[E0408]: variable `y` is not bound in all patterns
     --> <anon>:5:19
      |
    5 |         Some(y) | None => {}
      |              -    ^^^^ pattern doesn't bind `y`
      |              |
      |              variable not in all patterns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lints

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions