Skip to content

E0267 needs to be updated to new format #35519

Closed
@sophiajt

Description

@sophiajt

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

E0267 needs a span_label, updating it from:

error[E0267]: `break` inside of a closure
  --> src/test/compile-fail/E0267.rs:12:18
   |
12 |     let w = || { break; }; //~ ERROR E0267
   |                  ^^^^^

To:

error[E0267]: `break` inside of a closure
  --> src/test/compile-fail/E0267.rs:12:18
   |
12 |     let w = || { break; }; //~ ERROR E0267
   |                  ^^^^^ cannot break inside of a closure

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