Skip to content

Typestate crashes on this program #913

@marijnh

Description

@marijnh
Contributor
fn main() {
    let _a = 1, _b = 2, _c = 3;
    for d in [1] {
        {|x| x == 10 };
    }
}

The error is:

rt: b8e9:main:main:                   upcall fail 'Assertion i < v.nbits failed', src/lib/bitv.rs:75
rt: b8e9:main:                        domain main @0xa858148 root task failed

Activity

added a commit that references this issue on Sep 29, 2011
a3a2737
added a commit that references this issue on Oct 26, 2020
07799fe
added a commit that references this issue on Mar 7, 2023
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @marijnh@catamorphism

        Issue actions

          Typestate crashes on this program · Issue #913 · rust-lang/rust