Skip to content

Compiler panic on nightly #49310

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

Closed
mtn opened this issue Mar 23, 2018 · 1 comment
Closed

Compiler panic on nightly #49310

mtn opened this issue Mar 23, 2018 · 1 comment

Comments

@mtn
Copy link

mtn commented Mar 23, 2018

The input code wasn't valid -- I had incorrectly tried to source a type (Address, at the top of src/blockchain.rs) from the wrong module. Compiling with this error in the input code, the linked backtrace was produced. After sourcing from the correct namespace, the compiler no longer panics.

Not at all familiar with the rust source, and this might be expected or usual given I'm running nightly!

I tried this code:

https://github.com/mtn/tulipchain/tree/compiler_panic

I expected to see this happen: The program fail to compile, with some errors

Instead, this happened: The compiler panicked

Meta

rustc --version --verbose:

[12:30:16] mtn:tulipchain git:(compiler_panic) $ rustc --version --verbose
rustc 1.26.0-nightly (5508b2714 2018-03-18)
binary: rustc
commit-hash: 5508b27145cfb82896ae838e6aca0cd48750796f
commit-date: 2018-03-18
host: x86_64-apple-darwin
release: 1.26.0-nightly
LLVM version: 6.0

Backtrace:
https://raw.githubusercontent.com/mtn/tulipchain/compiler_panic/README.md

@pietroalbini
Copy link
Member

Duplicate of #49159. Thanks for reporting this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants