diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2016-04-22 23:43:14 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2016-04-24 21:04:09 +0300 |
| commit | 9108fb7bae11f18715d971eeae1e5ca84662e1ee (patch) | |
| tree | a1a4f5f13a8e0d409d6077796e46afbec162ff34 /src/libsyntax/print | |
| parent | a97f60ee8618fde7bafe49d79a3ea670758e6a0c (diff) | |
| download | rust-9108fb7bae11f18715d971eeae1e5ca84662e1ee.tar.gz rust-9108fb7bae11f18715d971eeae1e5ca84662e1ee.zip | |
Remove some old code from libsyntax
Diffstat (limited to 'src/libsyntax/print')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index 798477d8fe5..1c6ecbd3b5a 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -995,7 +995,7 @@ impl<'a> State<'a> { ast::TyKind::BareFn(ref f) => { let generics = ast::Generics { lifetimes: f.lifetimes.clone(), - ty_params: P::empty(), + ty_params: P::new(), where_clause: ast::WhereClause { id: ast::DUMMY_NODE_ID, predicates: Vec::new(), @@ -3011,7 +3011,7 @@ impl<'a> State<'a> { } let generics = ast::Generics { lifetimes: Vec::new(), - ty_params: P::empty(), + ty_params: P::new(), where_clause: ast::WhereClause { id: ast::DUMMY_NODE_ID, predicates: Vec::new(), |
