Skip to content

internal compiler error : index.end <= self.len() (built 2015-03-01) #22968

Closed
@yann-ledu

Description

@yann-ledu

with rustc 1.0.0-nightly (1576142 2015-03-01) (built 2015-03-01)

use std::iter::IntoIterator::IntoIter;
fn main()
{
    let mul2 = |x:IntoIter| x.iter().map(|x| x);
}

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