Skip to content

E0005 needs to be updated to new format #35192

Closed

Description

@sophiajt

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

E0005 needs a span_label, taking it from:

error[E0005]: refutable pattern in local binding: `None` not covered
  --> src/test/compile-fail/E0005.rs:13:9
   |
13 |     let Some(y) = x; //~ ERROR E0005
   |         ^^^^^^^

to:

error[E0005]: refutable pattern in local binding: `None` not covered
  --> src/test/compile-fail/E0005.rs:13:9
   |
13 |     let Some(y) = x; //~ ERROR E0005
   |         ^^^^^^^ pattern `None` not covered

Activity

  1. added
    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
    A-diagnosticsArea: Messages for errors, warnings, and lints
    E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
    and removed
    E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
    on Aug 2, 2016
  2. added 2 commits that reference this issue on Aug 17, 2016
    11be7c0
    c216617
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 lintsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions