mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 13:27:08 +00:00
Add `const_eval_select` intrinsic Adds an intrinsic that calls a given function when evaluated at compiler time, but generates a call to another function when called at runtime. See https://github.com/rust-lang/const-eval/issues/7 for previous discussion. r? `@oli-obk.`
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.