rust/compiler/rustc_hir_analysis
Matthias Krüger f560806ae0
Rollup merge of #121975 - davidtwco:issue-121757, r=petrochenkov
hir_analysis: enums return `None` in `find_field`

Fixes #121757.

Unnamed union fields with enums are checked for, but if `find_field` causes an ICE then the compiler won't get to that point.
2024-03-05 19:53:21 +01:00
..
2024-03-01 09:59:44 +08:00

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.