Skip to content

Commit

Permalink
gah
Browse files Browse the repository at this point in the history
  • Loading branch information
phansch committed May 9, 2018
1 parent d7d2c9e commit b815dbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ pub fn lit_to_constant<'tcx>(lit: &LitKind, ty: Ty<'tcx>) -> Constant {
pub fn constant(lcx: &LateContext, e: &Expr) -> Option<(Constant, bool)> {
let mut cx = ConstEvalLateContext {
tcx: lcx.tcx,
tables: lcx.txc.body_tables(e.id),
tables: lcx.tcx.body_tables(e.id),
param_env: lcx.param_env,
needed_resolution: false,
substs: lcx.tcx.intern_substs(&[]),
Expand Down

0 comments on commit b815dbe

Please sign in to comment.