diff options
| author | bors <bors@rust-lang.org> | 2018-08-14 15:09:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-08-14 15:09:37 +0000 |
| commit | 23f09bbed4ef12c5f9db198c22f50b608ea6c6d5 (patch) | |
| tree | 547c1cea1a62ace01f8cef6c8120612596208083 /src/libsyntax/parse | |
| parent | f45f52532a394d2d607fc5693364ad820049376d (diff) | |
| parent | e5e6375352636360add297c1f5a1f37ce71506e9 (diff) | |
| download | rust-23f09bbed4ef12c5f9db198c22f50b608ea6c6d5.tar.gz rust-23f09bbed4ef12c5f9db198c22f50b608ea6c6d5.zip | |
Auto merge of #53085 - ljedrz:cleanup_syntax_structures, r=ljedrz
Move SmallVector and ThinVec out of libsyntax - move `libsyntax::util::SmallVector` tests to `librustc_data_structures::small_vec` - remove `libsyntax::util::SmallVector` - move `libsyntax::util::thin_vec` to `librustc_data_structures::thin_vec` Other than moving these data structures where they belong it allows modules using `SmallVector<T>` (`SmallVec<[T; 1]>`) to specify their own length (e.g. 8 or 32) independently from `libsyntax`.
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 746e03d771a..0e45cacaf38 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -53,9 +53,9 @@ use util::parser::{AssocOp, Fixity}; use print::pprust; use ptr::P; use parse::PResult; +use ThinVec; use tokenstream::{self, Delimited, ThinTokenStream, TokenTree, TokenStream}; use symbol::{Symbol, keywords}; -use util::ThinVec; use std::borrow::Cow; use std::cmp; |
