Skip to content

ICE: not enough type parameters supplied to Box<T> #14092

Closed
@erickt

Description

@erickt

creduce found this ICE:

fn fn1(0 : Box) {}

That errors with:

ice.rs:1:12: 1:15 error: internal compiler error: not enough type parameters supplied to `Box<T>`
ice.rs:1 fn fn1(_ : Box) {}
                    ^~~
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task 'rustc' failed at 'Box<Any>', /Users/erickt/rust/rust-master/src/libsyntax/diagnostic.rs:99

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