rust/compiler/rustc_hir_analysis
est31 a59a2d3f6a Also avoid creating a terminating scope in mixed chains
This avoids creation of a terminating scope in
chains that contain both && and ||, because
also there we know that a terminating scope is
not neccessary: all the chain members are already
in such terminating scopes.

Also add a mixed && / || test.
2022-12-04 04:09:40 +01:00
..
2022-10-07 09:33:46 -05:00

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