Repository navigation
Closed
Description
When I try to build the docs (latest master, version 85bfae5) with cargo doc (Rust 1.30.1 on x86_64-unknown-linux-gnu), I get an internal compiler error. Is anyone else experiencing this, or is it just me? I don't see any other issues about this.
Documenting nalgebra v0.16.10 (...)
error: internal compiler error: librustc/traits/select.rs:2539: Where clause `Binder(<base::default_allocator::DefaultAllocator as base::allocator::Allocator<_, _>>)` was applicable to `Obligation(predicate=Binder(TraitPredicate(<base::default_allocator::DefaultAllocator as base::allocator::Allocator<_, _, _>>)),depth=3)` but now is not
thread '<unnamed>' panicked at 'Box<Any>', librustc_errors/lib.rs:587:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.
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.30.1 (1433507eb 2018-11-07) running on x86_64-unknown-linux-gnu
error: Could not document `nalgebra`.
Caused by:
process didn't exit successfully: `rustdoc --crate-name nalgebra src/lib.rs ...` (exit code: 1)
Metadata
Metadata
Assignees
Labels
No labels
Activity
atouminet commentedon Nov 21, 2018
The fix was merged into rust already but is only available for nightly build. You can build nalgebra docs on nightly.
See rust-lang/rust#55690
jturner314 commentedon Nov 21, 2018
Okay, thanks. I tried stable, beta, and the nightly I had already; I should have tried updating nightly. I can confirm it works with the latest nightly.