about summary refs log tree commit diff
path: root/src/librustsyntax/parse.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustsyntax/parse.rs')
-rw-r--r--src/librustsyntax/parse.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustsyntax/parse.rs b/src/librustsyntax/parse.rs
index ab3fc2072ae..a1445e17212 100644
--- a/src/librustsyntax/parse.rs
+++ b/src/librustsyntax/parse.rs
@@ -139,7 +139,7 @@ fn new_parser(sess: parse_sess, cfg: ast::crate_cfg, rdr: lexer::reader,
       mut token: tok0.tok,
       mut span: span0,
       mut last_span: span0,
-      mut buffer: [],
+      buffer: dvec::dvec(),
       mut restriction: parser::UNRESTRICTED,
       reader: rdr,
       keywords: token::keyword_table(),