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

E0517 needs to be updated to new format #36109

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

E0517 needs to be updated to new format #36109

sophiajt opened this issue Aug 29, 2016 · 0 comments

Comments

@sophiajt
Copy link
Contributor

sophiajt commented Aug 29, 2016

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

E0517 needs a span_label, updating it from:

error[E0517]: attribute should be applied to struct or enum
  --> src/test/compile-fail/E0517.rs:11:1
   |
11 | #[repr(C)] //~ ERROR E0517
   | ^^^^^^^^^^

To:

error[E0517]: attribute should be applied to struct or enum
  --> src/test/compile-fail/E0517.rs:11:1
   |
11 | #[repr(C)] //~ ERROR E0517
   | ^^^^^^^^^^ requires a struct or enum

Note: you'll have to change the label to match title. There are a few different error examples in that file.

sophiajt pushed a commit to sophiajt/rust that referenced this issue Sep 6, 2016
…rner

Update Error format for E0516, E0517, E0518

- E0518 Update error format rust-lang#36111
- E0517 Update error format rust-lang#36109
- E0516 Update error format rust-lang#36108
- Part of rust-lang#35233

r? @jonathandturner
sophiajt pushed a commit to sophiajt/rust that referenced this issue Sep 6, 2016
…rner

Update Error format for E0516, E0517, E0518

- E0518 Update error format rust-lang#36111
- E0517 Update error format rust-lang#36109
- E0516 Update error format rust-lang#36108
- Part of rust-lang#35233

r? @jonathandturner
@bors bors closed this as completed in 8bcd6a3 Sep 7, 2016
jakllsch pushed a commit to jakllsch/rust that referenced this issue Sep 8, 2016
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