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 |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
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 |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||