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

E0513 needs to be updated to new error format and given a unit test #36720

Closed
bstrie opened this issue Sep 25, 2016 · 1 comment
Closed

E0513 needs to be updated to new error format and given a unit test #36720

bstrie opened this issue Sep 25, 2016 · 1 comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints

Comments

@bstrie
Copy link
Contributor

bstrie commented Sep 25, 2016

First, add a unit test to src/test/compile-fail, in the same manner as the other tests in that directory e.g. E0001.rs.

Then the description will need to be updated from the following, though I'll defer to @jonathandturner as to what the exact wording should be:

error[E0513]: no type for local variable 322
   --> src/gelf.rs:103:41
    |
103 |             mem::transmute_copy::<&[u8; hdr_sz], GelfChunkHeader>(&b[..hdr_sz]);
    |                                         ^^^^^^
@bstrie bstrie added the A-diagnostics Area: Messages for errors, warnings, and lints label Sep 25, 2016
@sophiajt
Copy link
Contributor

E0513 fix just landed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints
Projects
None yet
Development

No branches or pull requests

2 participants