diff options
| author | ayushmishra2005 <ayushmishra2005@gmail.com> | 2021-05-13 10:34:41 +0530 |
|---|---|---|
| committer | ayushmishra2005 <ayushmishra2005@gmail.com> | 2021-05-13 10:34:41 +0530 |
| commit | 267450a81473a68dcef84ab7ba5e65265a0dd08c (patch) | |
| tree | b752bd8f71a6ee2ece4c592add972a6fc5897287 | |
| parent | 0cee527869f96e0c51487303a6c9dcf6fabc0e14 (diff) | |
| download | rust-267450a81473a68dcef84ab7ba5e65265a0dd08c.tar.gz rust-267450a81473a68dcef84ab7ba5e65265a0dd08c.zip | |
removed compilation error
| -rw-r--r-- | compiler/rustc_mir/src/dataflow/move_paths/builder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir/src/dataflow/move_paths/builder.rs b/compiler/rustc_mir/src/dataflow/move_paths/builder.rs index 449799f9178..1bfbb843114 100644 --- a/compiler/rustc_mir/src/dataflow/move_paths/builder.rs +++ b/compiler/rustc_mir/src/dataflow/move_paths/builder.rs @@ -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(..)), }, )); } |
