mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-19 04:26:50 +00:00
Do not call `check_expr` in `check_compatible`, since it has side-effects Fixes a weird suggestion in #98784 found later: Fixes #98894 Fixes #98897
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.