Skip to content

Too long int type compiler error #5907

Closed
@ghost

Description

fn main() {
    io::println(fmt!("%?",111111111111111923372036854775807i64));
}

RUST_LOG=rustc=1,::rt::backtrace rustc i.rs
rust: task failed at 'option::get none', /private/tmp/rust-kRyo/rust-0.6/src/libcore/option.rs:324
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,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
rust: task failed at 'explicit failure', /private/tmp/rust-kRyo/rust-0.6/src/librustc/rustc.rc:357
rust: domain main @0x7fa163814e10 root task failed

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