Compiler error when trying to use riker actors #59010
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I'm trying to play with the riker actor library, with no luck.
The code is exactly the one described in the first page of the documentation, Actors
Using latest nightly, this is the result I get :
error: internal compiler error: src/librustc_codegen_llvm/debuginfo/type_names.rs:176: debuginfo: Trying to create type name for unexpected type: impl std::future::Future
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:620:9 note: Run with
RUST_BACKTRACE=1environment variable to display a backtrace. error: aborting due to previous error
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.35.0-nightly (88f755f8a 2019-03-07) running on x86_64-apple-darwin
note: compiler flags: -C debuginfo=2 -C incremental --crate-type bin
note: some of the compiler flags provided by cargo are hidden
Since I'm pretty new to Rust, please excuse my eventual inconsistency :)
The text was updated successfully, but these errors were encountered: