Skip to content

Commit

Permalink
removed compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmishra2005 committed May 13, 2021
1 parent 0cee527 commit 267450a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_mir/src/dataflow/move_paths/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(..)),
},
));
}
Expand Down

0 comments on commit 267450a

Please sign in to comment.