Skip to content

E0267 needs to be updated to new format #35519

Closed

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

Activity

  1. shyamsundarb-arch commented on Aug 9, 2016

    @shyamsundarb-arch
    Contributor

    I will take this.

  2. shyamsundarb-arch commented on Aug 9, 2016

    @shyamsundarb-arch
    Contributor

    A small doubt E0267 and E0268 has changes in the same file ("src\librustc_passes\loops.rs")...
    Can I give a single commit to solve both these tickets?

  3. sophiajt commented on Aug 9, 2016

    @sophiajt
    ContributorAuthor

    Yes, please group them into one PR.

  4. added a commit that references this issue on Aug 13, 2016
  5. added 2 commits that reference this issue on Aug 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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