summary refs log tree commit diff
path: root/src/libsyntax/parse/mod.rs
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2017-01-17 01:54:59 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2017-01-17 01:54:59 +0300
commit03620dba25328ee8cc7316cf6d9bad2d0a118ba1 (patch)
tree36d4e35e2c6196f64147a2d9f5bc897ff30da076 /src/libsyntax/parse/mod.rs
parent2efe865d22eb85871562b2497ac819efc0174a3d (diff)
downloadrust-03620dba25328ee8cc7316cf6d9bad2d0a118ba1.tar.gz
rust-03620dba25328ee8cc7316cf6d9bad2d0a118ba1.zip
Use resizable Vec instead of P<[T]> in AST
Diffstat (limited to 'src/libsyntax/parse/mod.rs')
-rw-r--r--src/libsyntax/parse/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs
index 32b61a88ac1..1a1950dc45c 100644
--- a/src/libsyntax/parse/mod.rs
+++ b/src/libsyntax/parse/mod.rs
@@ -847,7 +847,7 @@ mod tests {
                                     Abi::Rust,
                                     ast::Generics{ // no idea on either of these:
                                         lifetimes: Vec::new(),
-                                        ty_params: P::new(),
+                                        ty_params: Vec::new(),
                                         where_clause: ast::WhereClause {
                                             id: ast::DUMMY_NODE_ID,
                                             predicates: Vec::new(),