"bad placeholder type" ICE regression #70291
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Playground link
On stable this produces an error that "the type placeholder
_
is not allowed within types on item signatures".On nightly (current version on play.rust-lang.org), however, it produces an ICE:
Attempting to call the function results in a different ICE:
The text was updated successfully, but these errors were encountered: