| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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 | Remove `Spanned` from `{ast,hir}::FieldPat` | Vadim Petrochenkov | -14/+8 | |
| 2019-08-15 | Remove `Spanned` from `ast::Mac` | Vadim Petrochenkov | -19/+25 | |
| 2019-08-14 | Rollup merge of #63543 - c410-f3r:variant, r=c410-f3r | Mazdak Farrokhzad | -2/+3 | |
| 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 | -2/+3 | |
| 2019-08-14 | Rollup merge of #63530 - ehuss:typo-statemement, r=centril | Mazdak Farrokhzad | -1/+1 | |
| Fix typo in error message. | ||||
| 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 | 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 | -2/+18 | |
| 2019-08-11 | parser: move into generics.rs | Mazdak Farrokhzad | -2/+276 | |
| 2019-08-11 | parser: move into stmt.rs | Mazdak Farrokhzad | -6/+468 | |
| 2019-08-11 | parser: move parse_fn_block_decl into expr.rs | Mazdak Farrokhzad | -9/+55 | |
| 2019-08-11 | parser: move parse_ident_or_underscore into item.rs | Mazdak Farrokhzad | -0/+11 | |
| 2019-08-11 | parser: split into {ty, path}.rs | Mazdak Farrokhzad | -0/+921 | |
| 2019-08-11 | parser: split into {item,module}.rs | Mazdak Farrokhzad | -0/+2231 | |
| 2019-08-11 | parser: split into pat.rs | Mazdak Farrokhzad | -0/+634 | |
| 2019-08-11 | parser: split into expr.rs | Mazdak Farrokhzad | -0/+1703 | |
