rust/src/libsyntax
bors 23f09bbed4 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`.
2018-08-14 15:09:37 +00:00
..
attr Move SmallVec and ThinVec out of libsyntax 2018-08-13 22:11:57 +02:00
diagnostics Move SmallVec and ThinVec out of libsyntax 2018-08-13 22:11:57 +02:00
ext Move SmallVec and ThinVec out of libsyntax 2018-08-13 22:11:57 +02:00
parse Move SmallVec and ThinVec out of libsyntax 2018-08-13 22:11:57 +02:00
print Auto merge of #52767 - ljedrz:avoid_format, r=petrochenkov 2018-07-29 09:33:37 +00:00
util Move SmallVec and ThinVec out of libsyntax 2018-08-13 22:11:57 +02:00
ast.rs Auto merge of #53085 - ljedrz:cleanup_syntax_structures, r=ljedrz 2018-08-14 15:09:37 +00:00
build.rs rustc: Add some build scripts for librustc crates 2017-07-22 22:04:13 -07:00
Cargo.toml rustc_target: move in syntax::abi and flip dependency. 2018-04-26 17:49:16 +03:00
codemap.rs Rollup merge of #52224 - ljedrz:dyn_libsyntax, r=oli-obk 2018-07-11 12:38:39 -06:00
config.rs Move SmallVec and ThinVec out of libsyntax 2018-08-13 22:11:57 +02:00
diagnostic_list.rs Fix diagnostic_list error 2018-08-05 22:26:06 +01:00
early_buffered_lints.rs make it a migration lint 2018-07-23 21:55:51 -05:00
entry.rs Cleanup InternedString. 2016-11-21 09:00:56 +00:00
feature_gate.rs syntax: add uniform_paths feature-gate. 2018-08-14 01:18:05 +03:00
fold.rs Move SmallVec and ThinVec out of libsyntax 2018-08-13 22:11:57 +02:00
json.rs Deny bare trait objects in in src/libsyntax 2018-07-10 21:06:26 +02:00
lib.rs Move SmallVec and ThinVec out of libsyntax 2018-08-13 22:11:57 +02:00
ptr.rs Remove most of PartialEq impls from AST and HIR structures 2018-07-14 14:56:57 +03:00
README.md Replace many of the last references to readmes 2018-03-16 12:43:22 -05:00
show_span.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
std_inject.rs syntax: gensym the injected std/core extern crates in the Rust 2018 edition. 2018-08-14 07:06:46 +03:00
str.rs Inline char_at() and record_width. 2018-05-13 17:16:02 +10:00
test.rs Move SmallVec and ThinVec out of libsyntax 2018-08-13 22:11:57 +02:00
test_snippet.rs Remove the now redundant CodeMap::new_filemap_with_lines() method. 2018-06-27 14:00:34 +02:00
tokenstream.rs Suggest comma when missing in macro call 2018-08-07 22:31:57 -07:00
visit.rs Implement existential types 2018-07-18 10:53:08 +02:00

The syntax crate contains those things concerned purely with syntax that is, the AST ("abstract syntax tree"), parser, pretty-printer, lexer, macro expander, and utilities for traversing ASTs.

For more information about how these things work in rustc, see the rustc guide: