Rename ExprKind::Vec to Array in HIR and HAIR.
This is a clearer name since they represent [a, b, c] array literals.
This commit is contained in:
parent
ff591b6dc0
commit
a9f8f98caa
14 changed files with 17 additions and 17 deletions
|
@ -628,7 +628,7 @@ fn mk_test_descs(cx: &TestCtxt) -> P<ast::Expr> {
|
|||
node: ast::ExprKind::AddrOf(ast::Mutability::Immutable,
|
||||
P(ast::Expr {
|
||||
id: ast::DUMMY_NODE_ID,
|
||||
node: ast::ExprKind::Vec(cx.testfns.iter().map(|test| {
|
||||
node: ast::ExprKind::Array(cx.testfns.iter().map(|test| {
|
||||
mk_test_desc_and_fn_rec(cx, test)
|
||||
}).collect()),
|
||||
span: DUMMY_SP,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue