Skip to content

E0438 needs to be updated to new format #35803

Closed
@sophiajt

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`

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