1
Fork 0

obligation cause: RepeatVec -> RepeatValueCopy

This commit is contained in:
lcnr 2022-03-31 12:50:53 +02:00
parent e730969b0d
commit d7cada1767
4 changed files with 11 additions and 8 deletions

View file

@ -198,7 +198,7 @@ impl<'a, 'tcx> PatCtxt<'a, 'tcx> {
let kind = match pat.kind {
hir::PatKind::Wild => PatKind::Wild,
hir::PatKind::Lit(ref value) => self.lower_lit(value),
hir::PatKind::Lit(value) => self.lower_lit(value),
hir::PatKind::Range(ref lo_expr, ref hi_expr, end) => {
let (lo_expr, hi_expr) = (lo_expr.as_deref(), hi_expr.as_deref());