Andrea Nall 782b484b79 Fix ICE in sugg::DerefDelegate with (named) closures
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
2022-07-07 16:10:36 -05:00
..
2021-08-11 14:21:33 +00:00
2022-03-24 11:27:07 +00:00
2022-05-11 18:51:14 +02:00
2022-06-03 17:16:41 -04:00