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

E0302 needs to be updated to new format #35523

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

E0302 needs to be updated to new format #35523

sophiajt opened this issue Aug 8, 2016 · 0 comments

Comments

@sophiajt
Copy link
Contributor

sophiajt commented Aug 8, 2016

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

E0302 needs a span_label, updating it from:

error[E0302]: cannot assign in a pattern guard
  --> src/test/compile-fail/E0302.rs:14:21
   |
14 |         option if { option = None; false } => { }, //~ ERROR E0302
   |                     ^^^^^^^^^^^^^

To:

error[E0302]: cannot assign in a pattern guard
  --> src/test/compile-fail/E0302.rs:14:21
   |
14 |         option if { option = None; false } => { }, //~ ERROR E0302
   |                     ^^^^^^^^^^^^^ assignment in pattern guard
sophiajt pushed a commit to sophiajt/rust that referenced this issue Aug 13, 2016
…ormat, r=jonathandturner

Update E0302 to the new format

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

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

Update E0302 to the new format

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

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

Update E0302 to the new format

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

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