mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 13:47:23 +00:00
Turn `is_val_statically_known` into such an intrinsic to demonstrate. It is perfectly safe to call after all.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.