-
Notifications
You must be signed in to change notification settings - Fork 13.3k
rustdoc panics in rustc_metadata::decoder::DecodeContext::specialized_decode #38237
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
Comments
With rustc 1.15.0-nightly (8f02c42 2016-12-15) I get a different backtrace for the same repro:
|
Merged
Fixed in #38537. |
Thanks. I'll try it tonight. |
That's not a problem. I'm perfectly capable of building a local rust build synced to your PR :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rustc 1.15.0-nightly (daf8c1d 2016-12-05) (msvc) installed via rustup on W7 x64, and same version on Linux
Windows backtrace:
Linux backtrace:
Repro: https://github.com/Arnavion/rust-38237 Run
cargo doc
orcargo doc --no-deps
underbar/
Command-line issued by
cargo
:I am unable to simplify the repro any further - all parts seem necessary to trigger the panic:
bar
) with a struct, and an impl ofDeref
for that struct withTarget = ::semver::VersionReq
::semver::VersionReq
must come from the realsemver
package. A fakemod semver { pub struct VersionReq; }
doesn't panic.foo
) must be imported.#[derive(Debug)]
on it.The text was updated successfully, but these errors were encountered: