mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-08 21:31:32 +00:00

Use `edition = "2024"` in the compiler (redux) Most of this is binding mode changes, which I fixed by running `x.py fix`. Also adds some miscellaneous `unsafe` blocks for new unsafe standard library functions (the setenv ones), and a missing `unsafe extern` block in some enzyme codegen code, and fixes some precise capturing lifetime changes (but only when they led to errors). cc ``@ehuss`` ``@traviscross``
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.