Skip to content

ICE in named break from within proc #19331

Description

@nstoddard

This code results in an ICE:

fn main() {
  'outer: loop {
    spawn(proc() {
      loop {
        break 'outer;
      }
    });
  }
}

Activity

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

    I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions