rust/compiler/rustc_typeck
Oliver Scherer 2d7ac728e4 Stop using the const_eval query for initializers of statics
As a side effect, we now represent most promoteds as `ConstValue::Scalar` again. This is useful because all implict promoteds are just references anyway and most explicit promoteds are numeric arguments to `asm!` or SIMD instructions.
2020-09-19 10:36:36 +02:00
..

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