Skip to content

E0301 needs to be updated to new format #35522

Description

@sophiajt

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

E0301 needs a span_label, updating it from:

error[E0301]: cannot mutably borrow in a pattern guard
  --> src/test/compile-fail/E0301.rs:14:19
   |
14 |         option if option.take().is_none() => {}, //~ ERROR E0301
   |                   ^^^^^^

To:

error[E0301]: cannot mutably borrow in a pattern guard
  --> src/test/compile-fail/E0301.rs:14:19
   |
14 |         option if option.take().is_none() => {}, //~ ERROR E0301
   |                   ^^^^^^ borrowed mutably in pattern guard

Activity

  1. added a commit that references this issue on Aug 13, 2016
    a7865b6
  2. added 2 commits that reference this issue on Aug 14, 2016
    fc54ee2
    f91d242
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions