rust/compiler/rustc_hir_analysis
Obei Sideg 2c088f9520 Disallow reference to static mut for expressions
Add `E0796` error code.
Add `static_mut_ref` lint.

This is the idea for the 2024 edition.
2024-01-06 06:31:35 +03:00
..

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