HirDisplay should display impl Fn*
for closures when the target is SourceCode
#8147
Labels
S-unactionable
Issue requires feedback, design decisions or is blocked on other work
After #8144 we error on displaying closures when the target is SourceCode to prevent panics from trying to use this output for
make::ty
, ideally we want to instead emitimpl Fn*
as thats the closest to a closure type we can get. For that we require more knowledge about what kind of closure we are dealing with though which is currently not something we have the analysis for.The text was updated successfully, but these errors were encountered: