Skip to content

E0528 needs to be updated to new format #36194

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
sophiajt opened this issue Sep 1, 2016 · 0 comments
Closed

E0528 needs to be updated to new format #36194

sophiajt opened this issue Sep 1, 2016 · 0 comments

Comments

@sophiajt
Copy link
Contributor

sophiajt commented Sep 1, 2016

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

E0528 needs a span_label, updating it from:

error[E0528]: pattern requires at least 3 elements but array has 2
  --> src/test/compile-fail/E0528.rs:16:10
   |
16 |         &[a, b, c, rest..] => { //~ ERROR E0528
   |          ^^^^^^^^^^^^^^^^^

To:

error[E0528]: pattern requires at least 3 elements but array has 2
  --> src/test/compile-fail/E0528.rs:16:10
   |
16 |         &[a, b, c, rest..] => { //~ ERROR E0528
   |          ^^^^^^^^^^^^^^^^^ pattern cannot match array of 2 elements
sophiajt pushed a commit to sophiajt/rust that referenced this issue Sep 2, 2016
sophiajt pushed a commit to sophiajt/rust that referenced this issue Sep 2, 2016
sophiajt pushed a commit to sophiajt/rust that referenced this issue Sep 2, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant