| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-11-07 | syntax::parser::token -> syntax::token | Mazdak Farrokhzad | -728/+0 | |
| 2019-11-07 | parser: allow ABIs from literal macro fragments | Mazdak Farrokhzad | -7/+0 | |
| 2019-11-07 | cleanup can_begin_const_arg | Mazdak Farrokhzad | -3/+1 | |
| 2019-10-28 | Use heuristics to recover parsing of missing `;` | Esteban Küber | -25/+26 | |
| - Detect `,` and `:` typos where `;` was intended. - When the next token could have been the start of a new statement, detect a missing semicolon. | ||||
| 2019-10-18 | Rollup merge of #65364 - XiangQingW:master, r=estebank | Tyler Mandry | -1/+1 | |
| Collect occurrences of empty blocks for mismatched braces diagnostic Fix #63904 | ||||
| 2019-10-16 | move syntax::ext to new crate syntax_expand | Mazdak Farrokhzad | -7/+7 | |
| 2019-10-13 | token: extract Nonterminal::to_tokenstream to parser. | Mazdak Farrokhzad | -134/+3 | |
| 2019-10-13 | Collect occurrences of for mismatched braces diagnostic | wangxiangqing | -1/+1 | |
| Change-Id: I20ba0b62308370ee961141fa1aefc4b9c9f0cb3a | ||||
| 2019-09-30 | syntax: Support modern attribute syntax in the `meta` matcher | Vadim Petrochenkov | -1/+1 | |
| 2019-08-27 | Simplify with Symbol/Token::is_book_lit. | Mazdak Farrokhzad | -4/+7 | |
| 2019-08-27 | token: refactor with is_non_raw_ident_where. | Mazdak Farrokhzad | -19/+13 | |
| 2019-08-19 | glue tokens when building token stream | Aleksey Kladov | -1/+1 | |
| 2019-08-05 | add unknown token | Aleksey Kladov | -1/+3 | |
| 2019-07-31 | Address review comments. | Mazdak Farrokhzad | -2/+2 | |
| 2019-07-30 | Account for maybe_whole_expr in range patterns. | Mazdak Farrokhzad | -0/+13 | |
| 2019-07-10 | Remove duplicate attr_to_string | Mark Rousskov | -1/+1 | |
| attribute_to_string exists. | ||||
| 2019-07-10 | Move literal_to_string to fmt::Display | Mark Rousskov | -0/+28 | |
| 2019-06-23 | let_chains: readd kw::let to ident_can_begin_expr. | Mazdak Farrokhzad | -2/+1 | |
| 2019-06-23 | let_chains: Comment out Let in ident_can_begin_expr. | Mazdak Farrokhzad | -1/+2 | |
| 2019-06-23 | let_chains: Add support for parsing let expressions. | Mazdak Farrokhzad | -0/+1 | |
| 2019-06-08 | syntax: Move some `Token` methods around | Vadim Petrochenkov | -48/+40 | |
| 2019-06-08 | syntax: Remove `Deref` impl from `Token` | Vadim Petrochenkov | -18/+11 | |
| 2019-06-08 | syntax: Move most of the `TokenKind` methods to `Token` | Vadim Petrochenkov | -75/+41 | |
| 2019-06-06 | Some code cleanup and tidy/test fixes | Vadim Petrochenkov | -2/+1 | |
| 2019-06-06 | syntax: Switch function parameter order in `TokenTree::token` | Vadim Petrochenkov | -4/+4 | |
| 2019-06-06 | syntax: Remove duplicate span from `token::Ident` | Vadim Petrochenkov | -35/+59 | |
| 2019-06-06 | syntax: Remove duplicate span from `token::Lifetime` | Vadim Petrochenkov | -17/+26 | |
| 2019-06-06 | syntax: Add some helper methods to `Token` | Vadim Petrochenkov | -1/+17 | |
| 2019-06-06 | syntax: Use `Token` in `TokenTree::Token` | Vadim Petrochenkov | -6/+15 | |
| 2019-06-06 | syntax: Rename `TokenAndSpan` into `Token` | Vadim Petrochenkov | -0/+12 | |
| 2019-06-06 | syntax: Rename `Token` into `TokenKind` | Vadim Petrochenkov | -14/+14 | |
| 2019-06-06 | Always use token kinds through `token` module rather than `Token` type | Vadim Petrochenkov | -2/+2 | |
| 2019-05-27 | Use `Symbol` equality in `is_ident_named`. | Nicholas Nethercote | -2/+2 | |
| 2019-05-23 | syntax: Some code cleanup | Vadim Petrochenkov | -7/+9 | |
| 2019-05-23 | syntax: Turn `token::Lit` into a struct | Vadim Petrochenkov | -44/+51 | |
| 2019-05-23 | syntax: Remove an obsolete hack from literal comparisons | Vadim Petrochenkov | -9/+1 | |
| 2019-05-23 | syntax: Return named errors from literal parsing functions | Vadim Petrochenkov | -2/+23 | |
| 2019-05-22 | Simplify use of keyword symbols | Vadim Petrochenkov | -37/+37 | |
| 2019-05-19 | Improve type size assertions | Vadim Petrochenkov | -3/+3 | |
| Now they - Tell what the new size is, when it changes - Do not require passing an identifier | ||||
| 2019-05-12 | Auto merge of #60767 - Centril:rollup-4cbsb73, r=Centril | bors | -10/+4 | |
| Rollup of 4 pull requests Successful merges: - #60694 (Fix HIR printing of existential type #60662) - #60750 (syntax: Remove some legacy nonterminal tokens) - #60751 (Assorted cleanup in parser & AST validation) - #60752 (Fix minor typos for ItemLocalId) Failed merges: r? @ghost | ||||
| 2019-05-12 | syntax: Remove some legacy nonterminal tokens | Vadim Petrochenkov | -10/+4 | |
| 2019-05-11 | Simplify conversions between tokens and semantic literals | Vadim Petrochenkov | -0/+7 | |
| 2019-05-11 | Keep the original token in `ast::Lit` | Vadim Petrochenkov | -0/+5 | |
| 2019-05-07 | Implement built-in await syntax | Taylor Cramer | -0/+5 | |
| Adds support for .await under the existing async_await feature gate. Moves macro-like await! syntax to the await_macro feature gate. Removes support for `await` as a non-keyword under the `async_await` feature. | ||||
| 2019-03-06 | Simplify code | Esteban Küber | -18/+3 | |
| 2019-03-06 | Emit missing unclosed delimiter errors | Esteban Küber | -6/+6 | |
| 2019-02-18 | Make `interpolated_to_tokenstream` a method on `Nonterminal`. | Nicholas Nethercote | -82/+81 | |
| 2019-02-18 | Remove `LazyTokenStream`. | Nicholas Nethercote | -85/+28 | |
| It's present within `Token::Interpolated` as an optimization, so that if a nonterminal is converted to a `TokenStream` multiple times, the first-computed value is saved and reused. But in practice it's not needed. `interpolated_to_tokenstream()` is a cold function: it's only called a few dozen times while compiling rustc itself, and a few hundred times across the entire `rustc-perf` suite. Furthermore, when it is called, it is almost always the first conversion, so no benefit is gained from it. So this commit removes `LazyTokenStream`, along with the now-unnecessary `Token::interpolated()`. As well as a significant simplification, the removal speeds things up slightly, mostly due to not having to `drop` the `LazyTokenStream` instances. | ||||
| 2019-02-18 | Change `Token::interpolated_to_tokenstream()`. | Nicholas Nethercote | -9/+3 | |
| It is currently a method of `Token`, but it only is valid to call if `self` is a `Token::Interpolated`. This commit eliminates the possibility of misuse by changing it to an associated function that takes a `Nonterminal`, which also simplifies the call sites. This requires splitting out a new function, `nonterminal_to_string`. | ||||
| 2019-02-10 | rustc: doc comments | Alexander Regueiro | -10/+10 | |
