clone less
This commit is contained in:
parent
49112241e9
commit
1ba97cb1cc
4 changed files with 76 additions and 82 deletions
|
@ -856,7 +856,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
|
|||
}
|
||||
|
||||
PatKind::InlineConstant { ref subpattern, .. } => {
|
||||
self.visit_primary_bindings(subpattern, pattern_user_ty.clone(), f)
|
||||
self.visit_primary_bindings(subpattern, pattern_user_ty, f)
|
||||
}
|
||||
|
||||
PatKind::Leaf { ref subpatterns } => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue