Skip to content

E0268 needs to be updated to new format #35520

Closed

Description

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

E0268 needs a span_label, updating it from:

error[E0268]: `break` outside of loop
  --> src/test/compile-fail/E0268.rs:12:5
   |
12 |     break; //~ ERROR E0268
   |     ^^^^^

To:

error[E0268]: `break` outside of loop
  --> src/test/compile-fail/E0268.rs:12:5
   |
12 |     break; //~ ERROR E0268
   |     ^^^^^ cannot break outside of a loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsArea: 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