ICE with type error and impl Fn
#36287
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
impl Fn
#36287
Using the
conservative_impl_trait
feature with the Fn traits seems to create an ICE when there’s a type error.The following code (also available on the Playground here):
causes the following compiler output:
Obviously, the error message is correct, if somewhat hard to decipher. The ICE is worrying, however.
Backtrace:
rustc
version:The text was updated successfully, but these errors were encountered: