Skip to content

E0437 needs to be updated to new format #35802

Closed
@sophiajt

Description

@sophiajt

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

E0437 needs a span_label, updating it from:

error[E0437]: type `Bar` is not a member of trait `Foo`
  --> src/test/compile-fail/E0437.rs:14:5
   |
14 |     type Bar = bool; //~ ERROR E0437
   |     ^^^^^^^^^^^^^^^^

To:

error[E0437]: type `Bar` is not a member of trait `Foo`
  --> src/test/compile-fail/E0437.rs:14:5
   |
14 |     type Bar = bool; //~ ERROR E0437
   |     ^^^^^^^^^^^^^^^^ 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