Skip to content

E0408 needs to be updated to new format #35698

Closed
@sophiajt

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`

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