about summary refs log tree commit diff
path: root/src/libsyntax/syntax.rc
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2013-02-14 21:50:03 -0800
committerNiko Matsakis <niko@alum.mit.edu>2013-02-27 19:42:09 -0500
commitc623d21e388315df672951fcb8efb5000923ab3d (patch)
tree8c7116e7df304166ccafcc30b21c19bf30788f75 /src/libsyntax/syntax.rc
parent061a2237230d3abcdb30ecb8987e5de17e67a58e (diff)
downloadrust-c623d21e388315df672951fcb8efb5000923ab3d.tar.gz
rust-c623d21e388315df672951fcb8efb5000923ab3d.zip
Introduce lifetime declarations into the lists of type parameters.
Major changes are:
- replace ~[ty_param] with Generics structure, which includes
  both OptVec<TyParam> and OptVec<Lifetime>;
- the use of syntax::opt_vec to avoid allocation for empty lists;

cc #4846
Diffstat (limited to 'src/libsyntax/syntax.rc')
-rw-r--r--src/libsyntax/syntax.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/syntax.rc b/src/libsyntax/syntax.rc
index 05bbe43ee9a..9eb7507f3d0 100644
--- a/src/libsyntax/syntax.rc
+++ b/src/libsyntax/syntax.rc
@@ -35,6 +35,7 @@ pub mod syntax {
     pub use parse;
 }
 
+pub mod opt_vec;
 pub mod attr;
 pub mod diagnostic;
 pub mod codemap;