Skip to content

ICE encountered on pattern guard of nested match #3601

Closed
@burg

Description

@burg
-*- mode: compilation; default-directory: "~/Desktop/" -*-
Compilation started at Wed Sep 26 16:06:54

RUST_LOG=rustc=0,::rt::backtrace rustc test.rc
rust: task failed at 'Assertion pats.is_not_empty() failed', /Users/burg/repos/rust/src/rustc/middle/check_alt.rs:83
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=0,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
rust: task failed at 'explicit failure', /Users/burg/repos/rust/src/rustc/driver/rustc.rs:283
rust: domain main @0x7fe42c000010 root task failed
rust: task failed at 'killed', /Users/burg/repos/rust/src/libcore/task.rs:781

Compilation exited abnormally with code 101 at Wed Sep 26 16:06:54

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-type-systemArea: Type systemI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions