mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
782b484b79
rustc comiler internals helpfully tell us how to fix the issue: to get the signature of a closure, use `substs.as_closure().sig()` not `fn_sig()` Fixes ICE in #9041