Skip to content

compiler crash - when using 'self lifetime #7548

Closed
@danoctavian

Description

@danoctavian

Minimal example of code that crashes rustc:

extern mod std;
use std::iterator;

pub fn get_mode<T : Iterator<&'self int>>(it : & T) {}
fn main() {}

Error:
rust: task failed at 'explicit failure', rust-0.7/src/librustc/rustc.rs:354

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