Skip to content

'rustc' failed at 'vint too big' #12541

Closed
@evansuva

Description

@evansuva

My silly demo code produces this internal compiler error:

bash-3.2$ rustc -v
rustc 0.10-pre (b48bc9e 2014-02-24 14:37:01 -0800)
host: x86_64-apple-darwin
bash-3.2$ rustc bug.rs
error: internal compiler error: unexpected failure
This message reflects a bug in the Rust compiler.
We would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html
note: the compiler hit an unexpected failure path. this is a bug
Ok(task 'rustc' failed at 'vint too big', /Users/dave/rust/src/libserialize/ebml.rs:130
)

Code is:

extern crate extra;
use extra::arc::MutexArc;

fn main() {
    let counter: MutexArc<int> = MutexArc::new(0);
}

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