Skip to content

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

Closed

Description

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]);
    |                                         ^^^^^^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lints

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions