Skip to content

E0560 needs to be updated to new format #36199

Closed
@sophiajt

Description

@sophiajt

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

E0560 needs a span_label, updating it from:

error[E0560]: structure `Simba` has no field named `father`
  --> src/test/compile-fail/E560.rs:16:32
   |
16 |     let s = Simba { mother: 1, father: 0 }; //~ ERROR E0560
   |                                ^^^^^^

To:

error[E0560]: structure `Simba` has no field named `father`
  --> src/test/compile-fail/E560.rs:16:32
   |
16 |     let s = Simba { mother: 1, father: 0 }; //~ ERROR E0560
   |                                ^^^^^^ `Simba` does not have this field

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