Skip to content

Commit dbe4057

Browse files
committed
Dogfood
1 parent 0e1caa7 commit dbe4057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_utils/src/consts.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ impl<'a, 'tcx> ConstEvalLateContext<'a, 'tcx> {
396396
},
397397
ExprKind::Index(arr, index) => self.index(arr, index),
398398
ExprKind::AddrOf(_, _, inner) => self.expr(inner).map(|r| Constant::Ref(Box::new(r))),
399-
ExprKind::Field(ref local_expr, ref field) => {
399+
ExprKind::Field(local_expr, ref field) => {
400400
let result = self.expr(local_expr);
401401
if let Some(Constant::Adt(constant)) = &self.expr(local_expr)
402402
&& let ty::Adt(adt_def, _) = constant.ty().kind()

0 commit comments

Comments
 (0)