| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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 | 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 | |
| 2019-08-11 | parser: move parse_ident_or_underscore into item.rs | Mazdak Farrokhzad | -11/+11 | |
| 2019-08-11 | parser: split into {ty, path}.rs | Mazdak Farrokhzad | -899/+930 | |
| 2019-08-11 | parser: split into {item,module}.rs | Mazdak Farrokhzad | -2218/+2251 | |
| 2019-08-11 | parser: split into pat.rs | Mazdak Farrokhzad | -633/+642 | |
| 2019-08-11 | parser: split into expr.rs | Mazdak Farrokhzad | -1667/+1712 | |
| 2019-08-09 | Recover parser from `foo(_, _)` | Esteban Küber | -20/+50 | |
| 2019-08-05 | add unknown token | Aleksey Kladov | -3/+5 | |
| 2019-08-05 | remove special code path for unknown tokens | Aleksey Kladov | -60/+13 | |
| 2019-08-04 | Auto merge of #63213 - varkor:itemkind-tyalias, r=Centril | bors | -2/+2 | |
| Rename `ItemKind::Ty` to `ItemKind::TyAlias` The current name is not entirely clear without context and `TyAlias` is consistent with `ItemKind::TraitAlias`. | ||||
| 2019-08-04 | Rename `ItemImplKind::Type` to `ItemImplKind::TyAlias` | varkor | -1/+1 | |
| 2019-08-04 | Rename `ItemKind::Ty` to `ItemKind::TyAlias` | varkor | -1/+1 | |
| 2019-08-04 | Auto merge of #62816 - estebank:type-ascription-macros, r=petrochenkov | bors | -6/+36 | |
| Point at type ascription before macro invocation on expansion parse error Fix https://github.com/rust-lang/rust/issues/47666. Follow up to https://github.com/rust-lang/rust/pull/62791. r? @petrochenkov | ||||
| 2019-08-03 | Rollup merge of #63146 - Mark-Simulacrum:clean-attr, r=petrochenkov | Mazdak Farrokhzad | -11/+4 | |
| Cleanup syntax::attr Mostly removing needless arguments to constructors r? @petrochenkov | ||||
| 2019-08-03 | Auto merge of #63180 - varkor:trait-alias-impl-trait, r=Centril | bors | -30/+13 | |
| Change opaque type syntax from `existential type` to type alias `impl Trait` This implements a new feature gate `type_alias_impl_trait` (this is slightly different from the originally proposed feature name, but matches what has been used in discussion since), deprecating the old `existential_types` feature. The syntax for opaque types has been changed. In addition, the "existential" terminology has been replaced with "opaque", as per previous discussion and the RFC. This makes partial progress towards implementing https://github.com/rust-lang/rust/issues/63063. r? @Centril | ||||
| 2019-08-02 | Auto merge of #63207 - petrochenkov:outest2, r=Mark-Simulacrum | bors | -602/+651 | |
| Unconfigure compiler unit test files during normal build I haven't touched libstd though, it had a lot of tests and I'm not sure the people maintaining it want this. Closes https://github.com/rust-lang/rust/issues/61097 r? @Mark-Simulacrum | ||||
| 2019-08-02 | Rollup merge of #63202 - exphp-forks:parser-ice-63135, r=estebank | Mazdak Farrokhzad | -1/+9 | |
| Fix ICE in #63135 Closes #63135. r?@estebank | ||||
| 2019-08-02 | Rollup merge of #63189 - waywardmonkeys:doc-improvements, r=Centril | Mazdak Farrokhzad | -1/+1 | |
| Doc improvements Miscellaneous documentation fixes. | ||||
| 2019-08-02 | Replace "existential" by "opaque" | varkor | -12/+6 | |
| 2019-08-02 | Switch existential_type to type_alias_impl_trait | varkor | -18/+7 | |
