summary refs log tree commit diff
path: root/src/libsyntax/parse/mod.rs
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2016-04-22 23:43:14 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2016-04-24 21:04:09 +0300
commit9108fb7bae11f18715d971eeae1e5ca84662e1ee (patch)
treea1a4f5f13a8e0d409d6077796e46afbec162ff34 /src/libsyntax/parse/mod.rs
parenta97f60ee8618fde7bafe49d79a3ea670758e6a0c (diff)
downloadrust-9108fb7bae11f18715d971eeae1e5ca84662e1ee.tar.gz
rust-9108fb7bae11f18715d971eeae1e5ca84662e1ee.zip
Remove some old code from libsyntax
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 7534683a206..c2050d2a8f4 100644
--- a/src/libsyntax/parse/mod.rs
+++ b/src/libsyntax/parse/mod.rs
@@ -925,7 +925,7 @@ mod tests {
                                     Abi::Rust,
                                     ast::Generics{ // no idea on either of these:
                                         lifetimes: Vec::new(),
-                                        ty_params: P::empty(),
+                                        ty_params: P::new(),
                                         where_clause: ast::WhereClause {
                                             id: ast::DUMMY_NODE_ID,
                                             predicates: Vec::new(),