| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-08-24 | parser: extract `ban_unexpected_or_or`. | Mazdak Farrokhzad | -11/+13 | |
| 2019-08-21 | fix rebase | Esteban Küber | -1/+1 | |
| 2019-08-21 | Formatting | Esteban Küber | -24/+45 | |
| 2019-08-21 | Add terminal_width debugging flag | Esteban Küber | -1/+8 | |
| 2019-08-21 | Rollup merge of #63759 - Centril:parse-default-async-fn, r=petrochenkov | Mazdak Farrokhzad | -0/+1 | |
| Allow 'default async fn' to parse. - Parse default async fn. Fixes #63716. (`cherry-pick`ed from 3rd commit in https://github.com/rust-lang/rust/pull/63749.) r? @petrochenkov | ||||
| 2019-08-20 | Allow 'default async fn' to parse. | Mazdak Farrokhzad | -0/+1 | |
| 2019-08-20 | Use dedicated type for spans in pre-expansion gating. | Mazdak Farrokhzad | -22/+25 | |
| 2019-08-19 | glue tokens when building token stream | Aleksey Kladov | -9/+33 | |
| 2019-08-19 | remove composite tokens support from the lexer | Aleksey Kladov | -37/+20 | |
| 2019-08-18 | Auto merge of #62948 - matklad:failable-file-loading, r=petrochenkov | bors | -66/+15 | |
| Normalize newlines when loading files Fixes #62865 | ||||
| 2019-08-17 | initial implementation of or-pattern parsing | Dan Robertson | -4/+40 | |
| Initial implementation of parsing or-patterns e.g., `Some(Foo | Bar)`. This is a partial implementation of RFC 2535. | ||||
| 2019-08-16 | Feature gate 'yield ?' pre-expansion. | Mazdak Farrokhzad | -0/+6 | |
| 2019-08-15 | hygiene: `ExpnInfo` -> `ExpnData` | Vadim Petrochenkov | -1/+1 | |
| For naming consistency with everything else in this area | ||||
| 2019-08-15 | syntax_pos: Remove the duplicate global edition | Vadim Petrochenkov | -29/+6 | |
| It was introduced to avoid going through `hygiene_data`, but now it's read only once, when `ParseSess` is created, so going through a lock is ok. | ||||
| 2019-08-15 | hygiene: Remove `Option`s from functions returning `ExpnInfo` | Vadim Petrochenkov | -1/+0 | |
| The expansion info is not optional and should always exist | ||||
| 2019-08-15 | `Ident::with_empty_ctxt` -> `Ident::with_dummy_span` | Vadim Petrochenkov | -1/+1 | |
| `Ident` has had a full span rather than just a `SyntaxContext` for a long time now. | ||||
| 2019-08-15 | syntax_pos: `NO_EXPANSION`/`SyntaxContext::empty()` -> `SyntaxContext::root()` | Vadim Petrochenkov | -11/+10 | |
| For consistency with `ExpnId::root`. Also introduce a helper `Span::with_root_ctxt` for creating spans with `SyntaxContext::root()` context | ||||
| 2019-08-15 | syntax_pos: Introduce a helper for checking whether a span comes from expansion | Vadim Petrochenkov | -1/+1 | |
| 2019-08-15 | Remove `Spanned` from `{ast,hir}::FieldPat` | Vadim Petrochenkov | -14/+8 | |
| 2019-08-15 | Remove `Spanned` from `ast::Mac` | Vadim Petrochenkov | -20/+26 | |
| 2019-08-15 | Remove `Spanned` from `mk_name_value_item_str` and `expr_to_spanned_string` | Vadim Petrochenkov | -2/+2 | |
| 2019-08-14 | Rollup merge of #63543 - c410-f3r:variant, r=c410-f3r | Mazdak Farrokhzad | -8/+8 | |
| Merge Variant and Variant_ Extracted from #63468. | ||||
| 2019-08-14 | Rollup merge of #63542 - c410-f3r:node_ids, r=petrochenkov | Mazdak Farrokhzad | -0/+4 | |
| Add NodeId for Arm, Field and FieldPat Extracted from #63468 | ||||
| 2019-08-14 | Rollup merge of #63490 - Centril:cleanup-pat-parser, r=petrochenkov | Mazdak Farrokhzad | -190/+235 | |
| libsyntax: cleanup and refactor `pat.rs` A smaller refactoring & cleanup of `pat.rs` (best read commit by commit). r? @petrochenkov | ||||
| 2019-08-14 | Rollup merge of #62984 - nathanwhit:extra_semi_lint, r=varkor | Mazdak Farrokhzad | -1/+16 | |
| Add lint for excess trailing semicolons Closes #60876. A caveat (not necessarily a negative, but something to consider) with this implementation is that excess semicolons after return/continue/break now also cause an 'unreachable statement' warning. For the following example: ``` fn main() { extra_semis(); } fn extra_semis() -> i32 { let mut sum = 0;;; for i in 0..10 { if i == 5 { continue;; } else if i == 9 { break;; } else { sum += i;; } } return sum;; } ``` The output is: ``` warning: unnecessary trailing semicolons --> src/main.rs:5:21 | 5 | let mut sum = 0;;; | ^^ help: remove these semicolons | = note: `#[warn(redundant_semicolon)]` on by default warning: unnecessary trailing semicolon --> src/main.rs:8:22 | 8 | continue;; | ^ help: remove this semicolon warning: unnecessary trailing semicolon --> src/main.rs:10:19 | 10 | break;; | ^ help: remove this semicolon warning: unnecessary trailing semicolon --> src/main.rs:12:22 | 12 | sum += i;; | ^ help: remove this semicolon warning: unnecessary trailing semicolon --> src/main.rs:15:16 | 15 | return sum;; | ^ help: remove this semicolon warning: unreachable statement --> src/main.rs:8:22 | 8 | continue;; | ^ | = note: `#[warn(unreachable_code)]` on by default warning: unreachable statement --> src/main.rs:10:19 | 10 | break;; | ^ warning: unreachable statement --> src/main.rs:15:16 | 15 | return sum;; | ^ ``` | ||||
| 2019-08-14 | Merge Variant and Variant_ | Caio | -8/+8 | |
| 2019-08-14 | remove special handling of \r\n from the lexer | Aleksey Kladov | -66/+15 | |
| 2019-08-14 | Rollup merge of #63530 - ehuss:typo-statemement, r=centril | Mazdak Farrokhzad | -1/+1 | |
| Fix typo in error message. | ||||
| 2019-08-14 | Rollup merge of #63475 - iluuu1994:issue-62632, r=Centril | Mazdak Farrokhzad | -0/+17 | |
| Bring back suggestion for splitting `<-` into `< -` Closes #62632 | ||||
| 2019-08-13 | Add NodeId for Arm, Field and FieldPat | Caio | -0/+4 | |
| 2019-08-13 | Apply Centril's suggestion | Eric Huss | -1/+1 | |
| Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com> | ||||
| 2019-08-13 | Fix typo in error message. | Eric Huss | -1/+1 | |
| 2019-08-12 | Parse excess semicolons as empty stmts for linting | nathanwhit | -1/+16 | |
| 2019-08-12 | syntax: account for CVarArgs being in the argument list. | Eduard-Mihai Burtescu | -1/+1 | |
| 2019-08-12 | extract parse_pat_{tuple_}struct + recover_one_fewer_dotdot | Mazdak Farrokhzad | -39/+51 | |
| 2019-08-12 | extract fatal_unexpected_non_pat | Mazdak Farrokhzad | -16/+22 | |
| 2019-08-12 | parser/pat: minor misc cleanup | Mazdak Farrokhzad | -13/+15 | |
| 2019-08-12 | extract parse_pat_range_starting_with_lit | Mazdak Farrokhzad | -20/+21 | |
| 2019-08-12 | extract parse_pat_range_starting_with_path | Mazdak Farrokhzad | -15/+25 | |
| 2019-08-12 | extract parse_pat_mac_invoc | Mazdak Farrokhzad | -14/+17 | |
| 2019-08-12 | extract ban_pat_range_if_ambiguous | Mazdak Farrokhzad | -20/+25 | |
| 2019-08-12 | extract recover_pat_ident_mut_first | Mazdak Farrokhzad | -16/+20 | |
| 2019-08-12 | Bring back suggestion for splitting `<-` into `< -` | Ilija Tovilo | -0/+17 | |
| Closes #62632 | ||||
| 2019-08-12 | extract parse_pat_tuple_or_parens | Mazdak Farrokhzad | -12/+14 | |
| 2019-08-12 | extract parse_pat_deref | Mazdak Farrokhzad | -12/+16 | |
| 2019-08-12 | parse_pat_with_range_pat: remove unnecessary assignments. | Mazdak Farrokhzad | -29/+25 | |
| 2019-08-11 | parser: {check,expect}_lifetime into ty.rs | Mazdak Farrokhzad | -19/+19 | |
| 2019-08-11 | parser: move into generics.rs | Mazdak Farrokhzad | -272/+278 | |
| 2019-08-11 | parser: move into stmt.rs | Mazdak Farrokhzad | -464/+477 | |
| 2019-08-11 | parser: move parse_fn_block_decl into expr.rs | Mazdak Farrokhzad | -60/+56 | |
