Skip to content

E0560 needs to be updated to new format #36199

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

E0560 needs to be updated to new format #36199

sophiajt opened this issue Sep 1, 2016 · 0 comments
Labels
A-diagnostics Area: Messages for errors, warnings, and lints

Comments

@sophiajt
Copy link
Contributor

sophiajt commented Sep 1, 2016

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

E0560 needs a span_label, updating it from:

error[E0560]: structure `Simba` has no field named `father`
  --> src/test/compile-fail/E560.rs:16:32
   |
16 |     let s = Simba { mother: 1, father: 0 }; //~ ERROR E0560
   |                                ^^^^^^

To:

error[E0560]: structure `Simba` has no field named `father`
  --> src/test/compile-fail/E560.rs:16:32
   |
16 |     let s = Simba { mother: 1, father: 0 }; //~ ERROR E0560
   |                                ^^^^^^ `Simba` does not have this field
@apasel422 apasel422 added the A-diagnostics Area: Messages for errors, warnings, and lints label Sep 13, 2016
sophiajt pushed a commit to sophiajt/rust that referenced this issue Sep 21, 2016
…rner

Updated E0560 to new error format

Added a small bit of code to add a label for E0560.

Also renamed src/test/compile-fail/E560.rs file to E0560.rs (not sure why it was named E560).
Updated all test cases which check this error.

Closes rust-lang#36199
sophiajt pushed a commit to sophiajt/rust that referenced this issue Sep 21, 2016
…rner

Updated E0560 to new error format

Added a small bit of code to add a label for E0560.

Also renamed src/test/compile-fail/E560.rs file to E0560.rs (not sure why it was named E560).
Updated all test cases which check this error.

Closes rust-lang#36199
sophiajt pushed a commit to sophiajt/rust that referenced this issue Sep 22, 2016
…rner

Updated E0560 to new error format

Added a small bit of code to add a label for E0560.

Also renamed src/test/compile-fail/E560.rs file to E0560.rs (not sure why it was named E560).
Updated all test cases which check this error.

Closes rust-lang#36199
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints
Projects
None yet
Development

No branches or pull requests

2 participants