Function clippy_utils::consts::mir_to_const
source · pub fn mir_to_const<'tcx>(
lcx: &LateContext<'tcx>,
result: Const<'tcx>
) -> Option<Constant<'tcx>>
pub fn mir_to_const<'tcx>(
lcx: &LateContext<'tcx>,
result: Const<'tcx>
) -> Option<Constant<'tcx>>