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