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

E0301 needs to be updated to new format #35522

Closed
sophiajt opened this issue Aug 8, 2016 · 0 comments
Closed

E0301 needs to be updated to new format #35522

sophiajt opened this issue Aug 8, 2016 · 0 comments

Comments

@sophiajt
Copy link
Contributor

sophiajt commented Aug 8, 2016

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
sophiajt pushed a commit to sophiajt/rust that referenced this issue Aug 13, 2016
…ormat, r=jonathandturner

Update E0301 to the new format

Part of rust-lang#35233.
Fixes rust-lang#35522.

r? @jonathandturner
eddyb added a commit to eddyb/rust that referenced this issue Aug 14, 2016
…ormat, r=jonathandturner

Update E0301 to the new format

Part of rust-lang#35233.
Fixes rust-lang#35522.

r? @jonathandturner
eddyb added a commit to eddyb/rust that referenced this issue Aug 14, 2016
…ormat, r=jonathandturner

Update E0301 to the new format

Part of rust-lang#35233.
Fixes rust-lang#35522.

r? @jonathandturner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant