removed compilation error

This commit is contained in:
ayushmishra2005
2021-05-13 10:34:41 +05:30
parent 0cee527869
commit 267450a814

View File

@@ -137,7 +137,7 @@ impl<'b, 'a, 'tcx> Gatherer<'b, 'a, 'tcx> {
self.loc,
InteriorOfSliceOrArray {
ty: place_ty,
is_index: matches!(elem, ProjectionElem::Index(..))
is_index: matches!(elem, ProjectionElem::Index(..)),
},
));
}