Module rustc_mir_transform::const_prop
source · Expand description
Propagates constants for early reporting of statically known assertion failures
Macros
- Macro for machine-specific
InterpError
without allocation. (These will never be shown to the user, but they help diagnose ICEs.)
Structs
- Finds optimization opportunities on the MIR.
Enums
- The mode that
ConstProp
is allowed to run in for a givenLocal
.
Constants
- The maximum number of bytes that we’ll allocate space for a local or the return value. Needed for #66397, because otherwise we eval into large places and that can cause OOM or just Severely regress performance.