Skip to content

assertion failed: rp.is_none() #8603

Closed
Closed
@carl-eastlund

Description

@carl-eastlund

Program:

fn op<'self>( _:&'self fn() -> () ) {}
fn main () {}

Error:

task <unnamed> failed at 'assertion failed: rp.is_none()', /Users/cce/git/rust/lang/src/librustc/middle/typeck/collect.rs:1061
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=1 to get further details and report the results to github.com/mozilla/rust/issues
task <unnamed> failed at 'explicit failure', /Users/cce/git/rust/lang/src/librustc/rustc.rs:371

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