Function clippy_lints::consts::constant_context [−][src]
pub fn constant_context<'c, 'cc>(
lcx: &LateContext<'c, 'cc>,
tables: &'c TypeckTables<'cc>
) -> ConstEvalLateContext<'c, 'cc>
Creates a ConstEvalLateContext
from the given LateContext
and TypeckTables