-
Notifications
You must be signed in to change notification settings - Fork 13k
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
ICE on closure typeck #66868
Comments
Cargo.lock for exact reproduction: |
Does this reproduce on nightly? |
This line seems to be the culprit. It only exhibits when going over crate bound (at least I couldn't minify it further). lib.rs:
main.rs in the binaries folder:
|
triage: P-high, at least to identify whether this is a long-standing bug or a stable-to-stable regression. Removing nomination. |
This won't build on 1.30:
|
Do not ICE on closure typeck Tackle rust-lang#66868. r? @davidtwco
Removing |
…-DPC Add regression tests for fixed ICEs Closes rust-lang#61747 (fixed from 1.41.0-nightly (4007d4e 2019-12-01)) Closes rust-lang#66205 (fixed from 1.41.0-nightly (4007d4e 2019-12-01)) Closes rust-lang#66270 (fixed by rust-lang#66246) Closes rust-lang#66868 (fixed by rust-lang#67071) Closes rust-lang#67424 (fixed by rust-lang#67160) Also picking a minor nit up from rust-lang#67071 with 101dd7b r? @Centril
…-DPC Add regression tests for fixed ICEs Closes rust-lang#61747 (fixed from 1.41.0-nightly (4007d4e 2019-12-01)) Closes rust-lang#66205 (fixed from 1.41.0-nightly (4007d4e 2019-12-01)) Closes rust-lang#66270 (fixed by rust-lang#66246) Closes rust-lang#66868 (fixed by rust-lang#67071) Closes rust-lang#67424 (fixed by rust-lang#67160) Also picking a minor nit up from rust-lang#67071 with 101dd7b r? @Centril
@JohnTitor I'm confused. Did you add a testcase for this or not? |
@hellow554 As discussed in #67543, we didn't add the test case there due to diffs of diagnostics on some environment. |
I hit this problem while trying to make a task joining function. The problem occured when I started messing around with Arc<RwLock>.
The nightly compiler crashes on this too.
Problematic code:
Clone the smtpbis repo on the rustice branch.
https://github.com/zerospam/smtpbis.git
https://github.com/zerospam/smtpbis/commits/rustice
jothan/smtpbis@607ec56
Meta
rustc --version --verbose
:rustc 1.39.0 (4560ea7 2019-11-04)
binary: rustc
commit-hash: 4560ea7
commit-date: 2019-11-04
host: x86_64-unknown-linux-gnu
release: 1.39.0
LLVM version: 9.0
Backtrace:
The text was updated successfully, but these errors were encountered: