diff options
| author | Michael Goulet <michael@errs.io> | 2023-06-18 13:17:05 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-18 13:17:05 -0700 |
| commit | 90e51f110c32b6c0907ceec60038ccd1ece2e5b5 (patch) | |
| tree | 5005d3586c4645bfac14890cacf097a6f55f0a09 /library/std/src/sys/unix/process/process_unix.rs | |
| parent | 939786223f2d36b1af62e27e9a7a54bae6e30f3f (diff) | |
| parent | 696cd98e6b51d657247cd61ee1babcf0ee4b9a8a (diff) | |
| download | rust-90e51f110c32b6c0907ceec60038ccd1ece2e5b5.tar.gz rust-90e51f110c32b6c0907ceec60038ccd1ece2e5b5.zip | |
Rollup merge of #112537 - compiler-errors:dont-record-adjustments-twice, r=cjgillot
Don't record adjustments twice in `note_source_of_type_mismatch_constraint` We call `lookup_method` a few times in `note_source_of_type_mismatch_constraint`, but that function has side-effects to the typeck results. Replace it with a less side-effect-y variant of the function for use in diagnostics. Specifically the ICE in #112532 happens because we're recording deref adjustments twice for a call receiver, which causes `ExprUseVisitor` to be angry. Fixes #112532
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions
