ICE: assertion failed: !value.has_infer()
in rustc_hir_typeck/src/writeback.rs
#125760
Labels
C-bug
Category: This is a bug.
F-type_alias_impl_trait
`#[feature(type_alias_impl_trait)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
(hand-reduced)
(original)
Meta
rustc --version --verbose
:Error output
Command:
rustc --edition=2018
--edition
option is added to avoidasync fn
error message(there exists another error at the end of the backtrace)
Backtrace
Note
rustc_hir_typeck/src/writeback.rs L749
rust/compiler/rustc_hir_typeck/src/writeback.rs
Lines 743 to 749 in debd22d
rustc_trait_selection/src/solve/canonicalize.rs L72
rust/compiler/rustc_trait_selection/src/solve/canonicalize.rs
Lines 71 to 72 in e5fedce
The text was updated successfully, but these errors were encountered: