rustc_
mir_
transform
1.87.0-nightly
(be73c1f46 2025-03-21)
In rustc_
mir_
transform::
cost_
checker
Structs
CostChecker
Constants
CALL_PENALTY
CONST_SWITCH_BONUS
INSTR_COST
LANDINGPAD_PENALTY
LARGE_SWITCH_PENALTY
RESUME_PENALTY
Functions
is_call_like
rustc_mir_transform
::
cost_checker
Constant
CONST_SWITCH_BONUS
Copy item path
Settings
Help
Summary
Source
const CONST_SWITCH_BONUS:
usize
= 10;