Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too long int type compiler error #5907

Closed
ghost opened this issue Apr 16, 2013 · 4 comments
Closed

Too long int type compiler error #5907

ghost opened this issue Apr 16, 2013 · 4 comments

Comments

@ghost
Copy link

ghost commented Apr 16, 2013

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

@huonw
Copy link
Member

huonw commented Apr 16, 2013

I think this is fixed in incoming. (It was issue #5544.)

@ghost
Copy link
Author

ghost commented Apr 16, 2013

On my Max OX 10.8.3 with XCode 4.6.2 and use brew install rust .
rustc version

rustc -v
rustc 0.6
host: x86_64-apple-darwin

@Thiez
Copy link
Contributor

Thiez commented Apr 16, 2013

@resoluteclaimed : It seems brew installs the official 0.6 release. This bug was fixed after that release. To get the fix to this problem, you'll either have to download and compile a newer version from source, or wait until the 0.7 release.

@ghost
Copy link
Author

ghost commented Apr 17, 2013

@Thiez yes ,Thanks for help

flip1995 pushed a commit to flip1995/rust that referenced this issue Aug 28, 2020
…=flip1995

appreciative too_large_for_stack in useless `vec!`

Fixes: rust-lang#5847
changelog: Add `too_large_for_stack ` configuration option for `USELESS_VEC`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants