Skip to content

paper-wars regression #220

Open
Open
@compiler-errors

Description

@compiler-errors

It's related to the fact that the Iterator is higher-ranked.

https://crater-reports.s3.amazonaws.com/pr-133502-13/try%233cddd79d4be3c8f1e937d09ca618d192abc69373/gh/foxfriends.paper-wars/log.txt

struct Module;

fn modules() -> Vec<Module> {
    todo!()
}

fn locate_tests(module: &Module) -> impl Iterator<Item = Vec<&()>> {
    modules()
        .iter()
        .flat_map(locate_tests)
        .for_each(|mut x| {
            x.push(());
        });
    [].into_iter()
}

fn main() {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    from-craterA regression found via a crater run, not part of our test suite

    Type

    No type

    Projects

    Status

    unknown

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions