rust/compiler/rustc_infer
Dylan DPC eecfdfb8a1
Rollup merge of #99383 - ouz-a:issue_57961, r=oli-obk
Formalize defining_use_anchor

This tackles issue #57961

Introduces new enum called `DefiningAnchor` that replaces `Option<LocalDefId>` of `defining_use_anchor`. Now every use of it is explicit and exhaustively matched, catching errors like one in the linked issue. This is not a perfect fix but it's a step in the right direction.

r? `@oli-obk`
2022-07-20 16:17:19 +05:30
..
src Rollup merge of #99383 - ouz-a:issue_57961, r=oli-obk 2022-07-20 16:17:19 +05:30
Cargo.toml Update smallvec to 1.8.1. 2022-06-27 08:48:55 +10:00