type parameter A/#0
(A/0) out of range when substituting (root type=Some(*const A)) substs=[]
#65025
Labels
A-FFI
Area: Foreign function interface (FFI)
A-type-system
Area: Type system
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Minimal example: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=814876c654b0b3ad162d52ba64064b02
I'm on nightly but it also crashes on stable.
The text was updated successfully, but these errors were encountered: