| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-08-19 | fix tidy errors | Donato Sciarra | -2/+3 | |
| 2018-08-19 | mv codemap source_map | Donato Sciarra | -2/+2 | |
| 2018-08-19 | mv codemap() source_map() | Donato Sciarra | -5/+5 | |
| 2018-08-19 | mv (mod) codemap source_map | Donato Sciarra | -1/+1 | |
| 2018-08-19 | mv filemap source_file | Donato Sciarra | -14/+14 | |
| 2018-08-19 | mv FileMap SourceFile | Donato Sciarra | -4/+4 | |
| 2018-08-19 | mv CodeMap SourceMap | Donato Sciarra | -5/+5 | |
| 2018-07-23 | dump lints _after_ parsing macros | mark | -3/+3 | |
| 2018-07-23 | Extend ParseSess to support buffering lints | mark | -2/+21 | |
| 2018-07-14 | Remove some tests using AST comparisons, fix other tests | Vadim Petrochenkov | -204/+26 | |
| 2018-06-30 | Fortify dummy span checking | Vadim Petrochenkov | -3/+3 | |
| 2018-06-23 | Auto merge of #51580 - cramertj:async-await, r=eddyb | bors | -5/+8 | |
| async/await This PR implements `async`/`await` syntax for `async fn` in Rust 2015 and `async` closures and `async` blocks in Rust 2018 (tracking issue: https://github.com/rust-lang/rust/issues/50547). Limitations: non-`move` async closures with arguments are currently not supported, nor are `async fn` with multiple different input lifetimes. These limitations are not fundamental and will be removed in the future, however I'd like to go ahead and get this PR merged so we can start experimenting with this in combination with futures 0.3. Based on https://github.com/rust-lang/rust/pull/51414. cc @petrochenkov for parsing changes. r? @eddyb | ||||
| 2018-06-22 | Re-reexport some items that were recently made crate-private. | Tim Kuehn | -1/+1 | |
| 2018-06-21 | Parse async fn header. | Without Boats | -5/+8 | |
| This is gated on edition 2018 & the `async_await` feature gate. The parser will accept `async fn` and `async unsafe fn` as fn items. Along the same lines as `const fn`, only `async unsafe fn` is permitted, not `unsafe async fn`.The parser will not accept `async` functions as trait methods. To do a little code clean up, four fields of the function type struct have been merged into the new `FnHeader` struct: constness, asyncness, unsafety, and ABI. Also, a small bug in HIR printing is fixed: it previously printed `const unsafe fn` as `unsafe const fn`, which is grammatically incorrect. | ||||
| 2018-06-09 | Crate-ify and delete unused code in syntax::parse | Mark Simulacrum | -20/+37 | |
| 2018-05-20 | lexer: Fix span override for the first token in a string | Vadim Petrochenkov | -2/+1 | |
| 2018-05-18 | Make `Directory::path` a `Cow`. | Nicholas Nethercote | -2/+3 | |
| Because we create a lot of these in the macro parser, but only very rarely modify them. This speeds up some html5ever runs by 2--3%. | ||||
| 2018-05-09 | Optimize string handling in lit_token(). | Nicholas Nethercote | -6/+17 | |
| In the common case, the string value in a string literal Token is the same as the string value in a string literal LitKind. (The exception is when escapes or \r are involved.) This patch takes advantage of that to avoid calling str_lit() and re-interning the string in that case. This speeds up incremental builds for a few of the rustc-benchmarks, the best by 3%. | ||||
| 2018-05-03 | Remove parse::escape_default(). | Nicholas Nethercote | -6/+2 | |
| str::escape_default() can be used instead. | ||||
| 2018-04-26 | rustc_target: move in syntax::abi and flip dependency. | Irina Popa | -1/+1 | |
| 2018-04-19 | Avoid allocating when parsing \u{...} literals. | Nicholas Nethercote | -2/+10 | |
| `char_lit` uses an allocation in order to ignore '_' chars in \u{...} literals. This patch changes it to not do that by processing the chars more directly. This improves various rustc-perf benchmark measurements by up to 6%, particularly regex, futures, clap, coercions, hyper, and encoding. | ||||
| 2018-04-10 | Auto merge of #49390 - Zoxc:sync-syntax, r=michaelwoerister | bors | -9/+8 | |
| More thread-safety changes r? @michaelwoerister | ||||
| 2018-04-06 | Remove more duplicated spans | Vadim Petrochenkov | -1/+1 | |
| 2018-04-06 | Rename `ast::Variant_::name` into `ident` + Fix rebase | Vadim Petrochenkov | -7/+3 | |
| 2018-03-28 | Make ParseSess thread-safe | John Kåre Alsaker | -9/+8 | |
| 2018-03-27 | libsyntax: Remove obsolete.rs | Vadim Petrochenkov | -1/+0 | |
| 2018-03-23 | Merge branch 'master' of https://github.com/Lymia/rust into rollup | Alex Crichton | -9/+15 | |
| 2018-03-22 | Rollup merge of #49117 - nivkner:fixme_fixup3, r=estebank | kennytm | -2/+0 | |
| address some FIXME whose associated issues were marked as closed part of #44366 | ||||
| 2018-03-18 | Feature gate raw identifiers. | Lymia Aluysia | -0/+4 | |
| 2018-03-18 | Initial implementation of RFC 2151, Raw Identifiers | Lymia Aluysia | -9/+11 | |
| 2018-03-17 | Cleanup import parsing | Vadim Petrochenkov | -1/+1 | |
| Fix spans of root segments | ||||
| 2018-03-17 | remove FIXME(#8372) since for-loops wont support borrowing iterators | Niv Kaminer | -2/+0 | |
| 2018-03-14 | Remove syntax and syntax_pos thread locals | John Kåre Alsaker | -287/+322 | |
| 2018-03-08 | Move REGISTERED_DIAGNOSTICS to a ParseSess field | John Kåre Alsaker | -1/+5 | |
| 2018-03-02 | Replace Rc with Lrc for shared data | John Kåre Alsaker | -10/+10 | |
| 2018-02-18 | Fix up tests and typos | Seiichi Uchida | -2/+2 | |
| 2018-02-18 | Replace dummy spans with empty spans | Seiichi Uchida | -1/+1 | |
| 2018-02-18 | Change ast::Visibility to Spanned type | Seiichi Uchida | -1/+1 | |
| 2018-01-26 | Do not capture stderr in the compiler. Instead just panic silently for fatal ↵ | John Kåre Alsaker | -2/+2 | |
| errors | ||||
| 2018-01-04 | rustc: use {U,I}size instead of {U,I}s shorthands. | Eduard-Mihai Burtescu | -2/+2 | |
| 2017-12-22 | Auto merge of #46732 - estebank:silence-recovered-blocks, r=petrochenkov | bors | -0/+1 | |
| Do not emit type errors on recovered blocks When a parse error occurs on a block, the parser will recover and create a block with the statements collected until that point. Now a flag stating that a recovery has been performed in this block is propagated so that the type checker knows that the type of the block (which will be identified as `()`) shouldn't be checked against the expectation to reduce the amount of irrelevant diagnostic errors shown to the user. Fix #44579. | ||||
| 2017-12-21 | Do not emit type errors on recovered blocks | Esteban Küber | -0/+1 | |
| When a parse error occurs on a block, the parser will recover and create a block with the statements collected until that point. Now a flag stating that a recovery has been performed in this block is propagated so that the type checker knows that the type of the block (which will be identified as `()`) shouldn't be checked against the expectation to reduce the amount of irrelevant diagnostic errors shown to the user. | ||||
| 2017-12-21 | Add GenericParam, refactor Generics in ast, hir, rustdoc | Jonas Platte | -3/+2 | |
| The Generics now contain one Vec of an enum for the generic parameters, rather than two separate Vec's for lifetime and type parameters. Additionally, places that previously used Vec<LifetimeDef> now use Vec<GenericParam> instead. | ||||
| 2017-12-19 | Implement non-mod.rs mod statements | Taylor Cramer | -1/+8 | |
| 2017-12-14 | Use PathBuf instead of String where applicable | Oliver Schneider | -12/+12 | |
| 2017-09-12 | Auto merge of #43716 - MaloJaffre:_-in-literals, r=petrochenkov | bors | -7/+18 | |
| Accept underscores in unicode escapes Fixes #43692. I don't know if this need an RFC, but at least the impl is here! | ||||
| 2017-08-30 | Make fields of `Span` private | Vadim Petrochenkov | -3/+3 | |
| 2017-08-17 | Accept underscores in unicode escapes | Malo Jaffré | -7/+18 | |
| Fixes #43692. | ||||
| 2017-08-15 | use field init shorthand EVERYWHERE | Zack M. Davis | -1/+1 | |
| Like #43008 (f668999), but _much more aggressive_. | ||||
| 2017-08-11 | Fix some typos | Bastien Orivel | -1/+1 | |
