diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2013-02-14 21:50:03 -0800 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2013-02-27 19:42:09 -0500 |
| commit | c623d21e388315df672951fcb8efb5000923ab3d (patch) | |
| tree | 8c7116e7df304166ccafcc30b21c19bf30788f75 /src/libsyntax/syntax.rc | |
| parent | 061a2237230d3abcdb30ecb8987e5de17e67a58e (diff) | |
| download | rust-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.rc | 1 |
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; |
