| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-02-29 | Move directory `libsyntax` -> `librustc_ast` | Vadim Petrochenkov | -1333/+0 | |
| 2020-02-24 | Add some missing support for `NtIdent` | Vadim Petrochenkov | -3/+10 | |
| 2020-02-22 | Rename CodeMap to SourceMap follow up | Maxim Zholobak | -2/+2 | |
| 2020-02-13 | parser: fuse free `fn` parsing together. | Mazdak Farrokhzad | -0/+2 | |
| 2020-02-01 | syntax::print -> new crate rustc_ast_pretty | Mazdak Farrokhzad | -5/+3 | |
| 2020-02-01 | pretty: remove ParseSess dependency | Mazdak Farrokhzad | -3/+2 | |
| 2020-02-01 | {syntax -> rustc_ast_passes}::node_count | Mazdak Farrokhzad | -139/+0 | |
| 2020-01-09 | Rollup merge of #67849 - cjkenn:check-sorted-words, r=estebank | Yuki Okushi | -5/+34 | |
| Add a check for swapped words when we can't find an identifier Fixes #66968 Couple things here: 1. The matches take the precedence of case insensitive match, then levenshtein match, then swapped words match. Doing this allows us to not even check for swapped words unless the other checks return `None`. 2. I've assumed that the swapped words check is not held to the limits of the max levenshtein distance threshold (ie. we want to try and find a match even if the levenshtein distance is very high). This means that we cannot perform this check in the `fold` that occurs after the `filter_map` call, because the candidate will be filtered out. So, I've split this into two separate `fold` calls, and had to collect the original iterator into a vec so it can be copied (I don't think we want to change the function signature to take a vec or require the `Copy` trait). An alternative implemenation may be to remove the `filter_map`, `fold` over the entire iterator, and do a check against `max_dist` inside the relevant cases there. r? @estebank | ||||
| 2020-01-03 | missed tidy check | cjkenn | -2/+2 | |
| 2020-01-03 | add a check for variable names that might match by word | cjkenn | -5/+34 | |
| 2020-01-02 | syntax::map_in_place: leave fixme | Mazdak Farrokhzad | -0/+2 | |
| 2020-01-02 | Normalize `syntax::symbol` imports. | Mazdak Farrokhzad | -4/+6 | |
| 2020-01-02 | Normalize `syntax::source_map` imports. | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-01 | Rename `syntax_pos` to `rustc_span` in source code | Vadim Petrochenkov | -3/+3 | |
| 2019-12-23 | Add span information to `ExprKind::Assign` | varkor | -1/+1 | |
| 2019-12-22 | Format the world | Mark Rousskov | -164/+167 | |
| 2019-12-12 | Unify assoc item visitors more. | Mazdak Farrokhzad | -5/+1 | |
| 2019-12-12 | Unify associated item visitor. | Mazdak Farrokhzad | -2/+2 | |
| 2019-12-06 | Use `to_option` in various places | varkor | -1/+1 | |
| 2019-11-10 | move syntax::parse -> librustc_parse | Mazdak Farrokhzad | -9/+9 | |
| also move MACRO_ARGUMENTS -> librustc_parse | ||||
| 2019-11-10 | move config.rs to libsyntax_expand | Mazdak Farrokhzad | -1/+2 | |
| 2019-11-07 | move syntax::{parse::literal -> util::literal} | Mazdak Farrokhzad | -0/+305 | |
| 2019-11-07 | move syntax::parse::lexer::comments -> syntax::util::comments | Mazdak Farrokhzad | -0/+317 | |
| 2019-11-07 | move parse::classify -> util::classify | Mazdak Farrokhzad | -0/+25 | |
| 2019-11-07 | syntax::parser::token -> syntax::token | Mazdak Farrokhzad | -1/+1 | |
| 2019-09-26 | Rename `Expr.node` to `Expr.kind` | varkor | -1/+1 | |
| For both `ast::Expr` and `hir::Expr`. | ||||
| 2019-09-06 | reduce visibility | Aleksey Kladov | -1/+1 | |
| 2019-08-24 | Modifies how Arg, Arm, Field, FieldPattern and Variant are visited | Caio | -4/+3 | |
| Part of the necessary work to accomplish #63468. | ||||
| 2019-08-12 | Bring back suggestion for splitting `<-` into `< -` | Ilija Tovilo | -0/+2 | |
| Closes #62632 | ||||
| 2019-08-02 | libsyntax: Unconfigure tests during normal build | Vadim Petrochenkov | -217/+61 | |
| 2019-07-30 | Unsupport the await!(..) macro. | Mazdak Farrokhzad | -1/+1 | |
| 2019-07-20 | Introduce rustc_lexer | Aleksey Kladov | -4/+4 | |
| The idea here is to make a reusable library out of the existing rust-lexer, by separating out pure lexing and rustc-specific concerns, like spans, error reporting an interning. So, rustc_lexer operates directly on `&str`, produces simple tokens which are a pair of type-tag and a bit of original text, and does not report errors, instead storing them as flags on the token. | ||||
| 2019-07-11 | Emit dropped unemitted errors to aid in ICE debugging | Esteban Küber | -3/+3 | |
| 2019-07-03 | Add missing lifetime specifier | Jeremy Stucki | -1/+1 | |
| 2019-07-03 | Remove needless lifetimes | Jeremy Stucki | -1/+1 | |
| 2019-06-23 | let_chains: Fix bugs in pretty printing. | Mazdak Farrokhzad | -0/+16 | |
| 2019-06-23 | let_chains: Add support for parsing let expressions. | Mazdak Farrokhzad | -4/+3 | |
| 2019-06-14 | Change `...` to `..=` where applicable | Aaron Kutch | -1/+1 | |
| 2019-06-08 | syntax: Move most of the `TokenKind` methods to `Token` | Vadim Petrochenkov | -3/+3 | |
| 2019-06-06 | syntax: Rename `Token` into `TokenKind` | Vadim Petrochenkov | -2/+2 | |
| 2019-06-06 | Always use token kinds through `token` module rather than `Token` type | Vadim Petrochenkov | -25/+25 | |
| 2019-06-05 | Implemented for function bounds, type bounds, and named existential types. | Alexander Regueiro | -2/+2 | |
| 2019-05-24 | Remove `ObsoleteInPlace` | varkor | -10/+4 | |
| 2019-05-22 | Simplify use of keyword symbols | Vadim Petrochenkov | -2/+2 | |
| 2019-05-21 | Move `edition` outside the hygiene lock and avoid accessing it | John Kåre Alsaker | -2/+2 | |
| 2019-05-09 | Rollup merge of #60188 - estebank:recover-block, r=varkor | Mazdak Farrokhzad | -0/+25 | |
| Identify when a stmt could have been parsed as an expr There are some expressions that can be parsed as a statement without a trailing semicolon depending on the context, which can lead to confusing errors due to the same looking code being accepted in some places and not others. Identify these cases and suggest enclosing in parenthesis making the parse non-ambiguous without changing the accepted grammar. Fix #54186, cc #54482, fix #59975, fix #47287. | ||||
| 2019-05-07 | Implement built-in await syntax | Taylor Cramer | -0/+3 | |
| 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-05-06 | review comments: fix typo and add comments | Esteban Küber | -1/+4 | |
| 2019-04-29 | Identify when a stmt could have been parsed as an expr | Esteban Küber | -0/+22 | |
| There are some expressions that can be parsed as a statement without a trailing semicolon depending on the context, which can lead to confusing errors due to the same looking code being accepted in some places and not others. Identify these cases and suggest enclosing in parenthesis making the parse non-ambiguous without changing the accepted grammar. | ||||
| 2019-02-10 | rustc: doc comments | Alexander Regueiro | -5/+5 | |
