diff options
| author | Andrea Nall <anall@andreanall.com> | 2022-07-04 13:25:31 -0500 |
|---|---|---|
| committer | Andrea Nall <anall@andreanall.com> | 2022-07-07 16:10:36 -0500 |
| commit | 782b484b799d638ee391b31dc322370432753722 (patch) | |
| tree | a2b39c581a3d6c6958bc4b6fb0a3f18f81839af3 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 7142a59674fc6faa5e76abdd47e2b516e9fd153b (diff) | |
| download | rust-782b484b799d638ee391b31dc322370432753722.tar.gz rust-782b484b799d638ee391b31dc322370432753722.zip | |
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
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
