Skip to content

E0438 needs to be updated to new format #35803

Description

@sophiajt

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

E0438 needs a span_label, updating it from:

error[E0438]: const `BAR` is not a member of trait `Foo`
  --> src/test/compile-fail/E0438.rs:16:5
   |
16 |     const BAR: bool = true; //~ ERROR E0438
   |     ^^^^^^^^^^^^^^^^^^^^^^^

To:

error[E0438]: const `BAR` is not a member of trait `Foo`
  --> src/test/compile-fail/E0438.rs:16:5
   |
16 |     const BAR: bool = true; //~ ERROR E0438
   |     ^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Foo`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

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