ICE from "trivial" bound where D::Assoc:
(in concert with Serde's deserialize_with
macro)
#65553
Labels
A-borrow-checker
Area: The borrow checker
A-NLL
Area: Non-lexical lifetimes (NLL)
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-high
High priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The following code (playground) panics the compiler in stable 1.38.0, beta 1.39.0-beta.6, and nightly 2019-10-17:
Removing the
D::Error
bound or filling it withD::Error: Debug
makes it compile just fine.Error + backtrace:
The text was updated successfully, but these errors were encountered: