Skip to content

ICE: Unable to fulfill trait #54705

Closed
Closed
@ghost

Description

Rust version: rustc 1.30.0-nightly (bb0896af1 2018-09-29)

How to reproduce:

git clone https://github.com/rayon-rs/rayon.git
cd rayon/rayon-futures
git checkout df8644
RUSTFLAGS="--cfg rayon_unstable" cargo doc --open -p rayon-futures

Error:

 Documenting rayon-futures v0.1.0 (/home/stjepan/tmp/rayon/rayon-futures)
thread '<unnamed>' panicked at 'Unable to fulfill trait DefId(2/0:829 ~ core[3330]::marker[0]::Send[0]) for 'ScopeFutureContents<'scope, F, S>': [FulfillmentError(Obligation(predicate=Binder(TraitPredicate(<S as rayon_core::internal::task::ScopeHandle<'_>>)),depth=5),Ambiguity), FulfillmentError(Obligation(predicate=Binder(TraitPredicate(<S as rayon_core::internal::task::ScopeHandle<'_>>)),depth=5),Ambiguity)]', librustc/traits/auto_trait.rs:218:17
note: Run with `RUST_BACKTRACE=1` for a backtrace.

error: internal compiler error: unexpected panic

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.0-nightly (bb0896af1 2018-09-29) running on x86_64-unknown-linux-gnu

error: Could not document `rayon-futures`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-synthetic-implsArea: Synthetic impls, used by rustdoc to document auto traits and traits with blanket implsI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions