ICE: to get the signature of a closure, use substs.as_closure().sig()
not fn_sig()
, const_trait_impl
#102985
Labels
C-bug
Category: This is a bug.
F-const_trait_impl
`#![feature(const_trait_impl)]`
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
Meta
rustc --version --verbose
:Error output
rustc /tmp/im/85871.rs "-Zcrate-attr=feature(const_trait_impl)"
Backtrace
The text was updated successfully, but these errors were encountered: