We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Just triggered an assertion failure with this code:
use std::num::FloatMath; fn main() { FloatMath::sin(18.0f64); }
Which gives:
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 'assertion failed: `(left == right) && (right == left)` (left: `1`, right: `0`)', /home/blastrock/packages/rust/src/librustc/middle/trans/callee.rs:528 stack backtrace: 1: 0x7ff95c46aa80 - rt::backtrace::imp::write::hbe5a5bcc01f62aea0Kq 2: 0x7ff95c46dbb0 - failure::on_fail::hc1bcc8cdec657a65n6q 3: 0x7ff95cc14210 - unwind::begin_unwind_inner::hde83cd2a83f33b328yd 4: 0x7ff95cc13d50 - unwind::begin_unwind_fmt::h445f8f8b255d9121Awd 5: 0x7ff95d3e2370 - middle::trans::callee::trans_fn_ref_with_substs::hbf1c35fef7f506773p3 6: 0x7ff95d3e03c0 - middle::trans::callee::trans_fn_ref::hec0ed90aee8829a5Qd3 7: 0x7ff95d3e8ca0 - middle::trans::callee::trans_call::closure.123303 8: 0x7ff95d3c24e0 - middle::trans::callee::trans_call_inner::h42827e201ddc4be0LL3 9: 0x7ff95d3e89f0 - middle::trans::callee::trans_call::h14ba3d11f87f2d2f6F3 10: 0x7ff95d3f7b00 - middle::trans::expr::trans_rvalue_dps_unadjusted::h4af8fc65853fae52vU5 11: 0x7ff95d3ba740 - middle::trans::expr::trans_into::hb35b3ae595bf869b3v4 12: 0x7ff95d3b9b30 - middle::trans::controlflow::trans_stmt_semi::h92bc9667c69c4d8ahL0 13: 0x7ff95d3b90e0 - middle::trans::controlflow::trans_stmt::hf364b78cf28d31654G0 14: 0x7ff95d3bab60 - middle::trans::controlflow::trans_block::h909ab2de346ddc39aM0 15: 0x7ff95d463380 - middle::trans::base::trans_closure::h1b83b7ff27159e60dSg 16: 0x7ff95d3ad0b0 - middle::trans::base::trans_fn::h30dff13bf84078adB3g 17: 0x7ff95d3aa700 - middle::trans::base::trans_item::he04e952edb19bc9fUmh 18: 0x7ff95d46e270 - middle::trans::base::trans_crate::h0167fac9c9c445a4Hki 19: 0x7ff95d8c7940 - driver::driver::phase_4_translate_to_llvm::h912749baab7dab90blA 20: 0x7ff95d8be9e0 - driver::driver::compile_input::hbfa91f151c1dcfee6Rz 21: 0x7ff95d949830 - driver::run_compiler::hc29782fd560328acqFD 22: 0x7ff95d9496e0 - driver::run::closure.145950 23: 0x7ff95d02f240 - task::TaskBuilder<S>::try_future::closure.103325 24: 0x7ff95d02f020 - task::TaskBuilder<S>::spawn_internal::closure.103296 25: 0x7ff95e1ac090 - task::spawn_opts::closure.8476 26: 0x7ff95cc79380 - rust_try_inner 27: 0x7ff95cc79370 - rust_try 28: 0x7ff95cc11ad0 - unwind::try::h861b4e16b59b7f65Qnd 29: 0x7ff95cc11950 - task::Task::run::h157dd7d1fdff9272uDc 30: 0x7ff95e1abdd0 - task::spawn_opts::closure.8416 31: 0x7ff95cc13220 - thread::thread_start::h4a8949100a62b815FXc 32: 0x7ff95bf31fe0 - start_thread 33: 0x7ff95c8e4bf9 - __clone 34: 0x0 - <unknown>
The text was updated successfully, but these errors were encountered:
Thanks for the report!
Closing as a dupe of #18061.
Sorry, something went wrong.
No branches or pull requests
Hi,
Just triggered an assertion failure with this code:
Which gives:
The text was updated successfully, but these errors were encountered: