2 if let ExprKind::Repeat(value, length) = expr.kind;
3 if let ExprKind::Lit(ref lit) = value.kind;
4 if let LitKind::Int(1, LitIntType::Unsigned(UintTy::U8)) = lit.node;
5 if let ArrayLen::Body(anon_const) = length;
6 let expr1 = &cx.tcx.hir().body(anon_const.body).value;
7 if let ExprKind::Lit(ref lit1) = expr1.kind;
8 if let LitKind::Int(5, LitIntType::Unsuffixed) = lit1.node;
10 // report your lint here