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

rustdoc panics on None at html::render #36031

Closed
Manishearth opened this issue Aug 27, 2016 · 2 comments
Closed

rustdoc panics on None at html::render #36031

Manishearth opened this issue Aug 27, 2016 · 2 comments
Labels
I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@Manishearth
Copy link
Member

Running make docs with --enable-compiler-docs

rustc: x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib/librustc_plugin
rustdoc: doc/rustc_typeck/index.html
rustdoc: doc/rustc_mir/index.html
rustc: x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib/librustc_mir
rustc: x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib/librustc_typeck
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', src/libcore/option.rs:326
stack backtrace:
   1:        0x1091ef59a - std::sys::backtrace::tracing::imp::write::hacf40ae6a3c9a7e3
   2:        0x1091fdd5f - std::panicking::default_hook::_{{closure}}::ha6b33fef3a323878
   3:        0x1091fc3e5 - std::panicking::default_hook::h7c2212d31b24a51e
   4:        0x1091fc9f6 - std::panicking::rust_panic_with_hook::h4841ecb3443c75a3
   5:        0x1091fc844 - std::panicking::begin_panic::h64a3b104b90706b0
   6:        0x1091fc7b2 - std::panicking::begin_panic_fmt::h6609000392f80161
   7:        0x1091fc717 - rust_begin_unwind
   8:        0x10925c740 - core::panicking::panic_fmt::h2a8bbd097a596c45
   9:        0x10925c644 - core::panicking::panic::h44f94ad2f4e3e170
  10:        0x10534385d - rustdoc::html::render::run::h41ebd971ec08ba37
  11:        0x10538d354 - rustdoc::main_args::h6af3626fc80bcdf3
  12:        0x1052490ab - std::panicking::try::do_call::h41e7123dce60db3a
  13:        0x10920493a - __rust_maybe_catch_panic
  14:        0x10526d9b3 - _<F as alloc..boxed..FnBox<A>>::call_box::hbd9296e731429739
  15:        0x1091fb1d4 - std::sys::thread::Thread::new::thread_start::hcaa3a549050fafca
  16:     0x7fff8ee9ac12 - _pthread_body
  17:     0x7fff8ee9ab8f - _pthread_start

cc @alexcrichton

@Manishearth Manishearth added I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Aug 27, 2016
@retep998
Copy link
Member

Might be worth having --enable-compiler-docs on some of the buildbots.

@Manishearth
Copy link
Member Author

I've wanted an official rust-internals-docs for a while now 😄

bors added a commit that referenced this issue Sep 6, 2016
rustdoc: Fix associated consts in search results

Associated consts can appear in none trait impls so need to be treated
like methods when generating the search index.

Fixes #36031
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

2 participants