diff options
| author | bors <bors@rust-lang.org> | 2021-10-11 21:39:11 +0000 | 
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-10-11 21:39:11 +0000 | 
| commit | 7cc8c44871b6e789d29fc0d42dacad9804c3a41c (patch) | |
| tree | ea56ac3a075e8aa22a5aeb712e6834ffdf15ed04 /library/std/src/os/unix/net/addr.rs | |
| parent | 5b210643ebf2485aafdf2494de8cf41941a64e95 (diff) | |
| parent | 7275cfa47cf3fdbf41c2ad859ac937bffe5923a4 (diff) | |
| download | rust-7cc8c44871b6e789d29fc0d42dacad9804c3a41c.tar.gz rust-7cc8c44871b6e789d29fc0d42dacad9804c3a41c.zip | |
Auto merge of #89648 - nbdd0121:issue-89606, r=nikomatsakis
Ignore type of projections for upvar capturing Fix #89606 Ignore type of projections for upvar capturing. Originally HashMap is used, and the hash/eq implementation of Place takes the type of projections into account. These types may differ by lifetime which causes #89606 to ICE. I originally considered erasing regions but `place.ty()` is used when creating upvar tuple type, more than just serving as a key type, so I switched to a linear comparison with custom eq (`compare_place_ignore_ty`) instead. r? `@wesleywiser` `@rustbot` label +T-compiler
Diffstat (limited to 'library/std/src/os/unix/net/addr.rs')
0 files changed, 0 insertions, 0 deletions
