mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
4b0c9d76ae
Rollup of 10 pull requests Successful merges: - rust-lang/rust#156394 (miri subtree update) - rust-lang/rust#154972 (Implement `core::arch::return_address` and tests) - rust-lang/rust#155679 (rustdoc: Reify emission types) - rust-lang/rust#155982 (Fix closure HIR span context mismatch) - rust-lang/rust#156323 (Handle --print=backend-has-mnemonic in cg_clif) - rust-lang/rust#156387 (std fs tests: avoid matching on OS-provided error string) - rust-lang/rust#156129 (compiletest: Migrate from `PassMode`/`FailMode` to `PassFailMode`) - rust-lang/rust#156192 (core: Replace `ptr::slice_from_raw_parts` with `slice::from_raw_parts`) - rust-lang/rust#156365 (stream_send_recv_stress tests: wait for threads to finish) - rust-lang/rust#156368 (Fix invalid unreachable in is_known_valid_scrutinee for Reborrow)
For high-level intro to how type checking works in rustc, see the hir typeck chapter of the rustc dev guide.