-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
'rustc' panicked at 'called Option::unwrap()
on a None
value', src/librustc_typeck/check/method/suggest.rs:550:46
#69725
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
The error is likely due to the fact that the trait bounds on |
JohnTitor
added
C-bug
Category: This is a bug.
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
Mar 5, 2020
Centril
added a commit
to Centril/rust
that referenced
this issue
Mar 6, 2020
Avoid using `unwrap()` in suggestions Addresses rust-lang#69725, still need a regression test. r? @estebank
Centril
added a commit
to Centril/rust
that referenced
this issue
Mar 6, 2020
Avoid using `unwrap()` in suggestions Addresses rust-lang#69725, still need a regression test. r? @estebank
I can't get it to work in the same crate, just with two crates, where the first one depends on the other: src/main.rs
other_crate/src/lib.rs
@rustbot modify labels: -E-needs-mcve |
rustbot
removed
the
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
label
Mar 6, 2020
Thanks @hellow554! I included a test in the PR. |
Centril
added a commit
to Centril/rust
that referenced
this issue
Mar 7, 2020
Avoid using `unwrap()` in suggestions Fixes rust-lang#69725 r? @estebank
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried code very similar to this:
and it produces some type of type checking error when uncommenting the line beginning with
let temp
.Meta
rustc --version --verbose
:Backtrace:
The text was updated successfully, but these errors were encountered: