Skip to content

E0422 needs to be updated to new format #35700

Closed
@sophiajt

Description

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

E0422 needs a span_label, updating it from:

error[E0422]: `Foo` does not name a structure
  --> src/test/compile-fail/E0422.rs:12:13
   |
12 |     let x = Foo { x: 1, y: 2 }; //~ ERROR E0422
   |             ^^^

To:

error[E0422]: `Foo` does not name a structure
  --> src/test/compile-fail/E0422.rs:12:13
   |
12 |     let x = Foo { x: 1, y: 2 }; //~ ERROR E0422
   |             ^^^ not a structure

Activity

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