Skip to content

the compiler hit an unexpected failure path #16611

Closed
@ghost

Description

It's a little vague, but I ran into this bug today. I'm not sure how to classify this bug. I'm running Mac OS X 10.9.4, and building with the latest nightly.

$ make && make run

mkdir -p build

rustc src/main.rs -o build/tinier -L rustVM/build/

src/treetraverser.rs:15:12: 15:16 error: cannot determine a type for this bounded type parameter: unconstrained type

src/treetraverser.rs:15 #[deriving(Show)]

                                   ^~~~

note: in expansion of #[deriving]

src/treetraverser.rs:15:1: 15:18 note: expansion site

src/treetraverser.rs:15:12: 15:16 error: cannot determine a type for this bounded type parameter: unconstrained type

src/treetraverser.rs:15 #[deriving(Show)]

                                   ^~~~

note: in expansion of #[deriving]

src/treetraverser.rs:15:1: 15:18 note: expansion site

error: internal compiler error: unexpected failure

note: the compiler hit an unexpected failure path. this is a bug.

note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html

note: run with `RUST_BACKTRACE=1` for a backtrace

task 'rustc' failed at 't_f should be a trait', /Users/rustbuild/src/rust-buildbot/slave/nightly-mac/build/src/librustc/middle/typeck/check/vtable.rs:572


make: *** [build] Error 101

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.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