Skip to content

trans_put - 'non-exhaustive match failure' #639

Closed
@jruderman

Description

@jruderman

rt: 9736:main:main: upcall fail 'non-exhaustive match failure', ../src/comp/middle/trans.rs:6572

iter under(uint hi) -> uint {
    let uint y = 0u;
    while (y < hi) {
        put y;
        y += 1u;
    }
}

iter several_zeroes() {
    for each (uint i in under(3u)) {
        put 0u;
    }
}

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

    Issue actions