]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_mir/build/expr/into.rs
Rename ExprKind::Vec to Array in HIR and HAIR.
[rust.git] / src / librustc_mir / build / expr / into.rs
index ffd9525933b4e5d6f24f43ea414b2ed1db316f2f..24b9c955658fd831d87e0ca59c9daf94310e07ea 100644 (file)
@@ -256,7 +256,7 @@ pub fn into_expr(&mut self,
             ExprKind::VarRef { .. } |
             ExprKind::SelfRef |
             ExprKind::StaticRef { .. } |
-            ExprKind::Vec { .. } |
+            ExprKind::Array { .. } |
             ExprKind::Tuple { .. } |
             ExprKind::Adt { .. } |
             ExprKind::Closure { .. } |