| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-11-14 | TAIT: remove `OpaqueTy` in AST. | Mazdak Farrokhzad | -7/+0 | |
| 2019-11-08 | ast::ItemKind::Fn: use ast::FnSig | Mazdak Farrokhzad | -5/+4 | |
| 2019-11-08 | ast::MethodSig -> ast::FnSig | Mazdak Farrokhzad | -1/+1 | |
| 2019-11-07 | syntax::parser::token -> syntax::token | Mazdak Farrokhzad | -1/+1 | |
| 2019-11-06 | Make doc comments cheaper with `AttrKind`. | Nicholas Nethercote | -1/+4 | |
| `AttrKind` is a new type with two variants, `Normal` and `DocComment`. It's a big performance win (over 10% in some cases) because `DocComment` lets doc comments (which are common) be represented very cheaply. `Attribute` gets some new helper methods to ease the transition: - `has_name()`: check if the attribute name matches a single `Symbol`; for `DocComment` variants it succeeds if the symbol is `sym::doc`. - `is_doc_comment()`: check if it has a `DocComment` kind. - `{get,unwrap}_normal_item()`: extract the item from a `Normal` variant; panic otherwise. Fixes #60935. | ||||
| 2019-11-06 | Remove unnecessary `Deref` impl for `Attribute`. | Nicholas Nethercote | -1/+1 | |
| This kind of thing just makes the code harder to read. | ||||
| 2019-09-26 | Rename `ForeignItem.node` to `ForeignItem.kind` | varkor | -1/+1 | |
| 2019-09-26 | Rename `Item.node` to `Item.kind` | varkor | -1/+1 | |
| 2019-09-26 | Rename `Stmt.node` to `Stmt.kind` | varkor | -1/+1 | |
| 2019-09-26 | Rename `Ty.node` to `Ty.kind` | varkor | -1/+1 | |
| 2019-09-26 | Rename `TraitItem.node` to `TraitItem.kind` | varkor | -1/+1 | |
| 2019-09-26 | Rename `ImplItem.node` to `ImplItem.kind` | varkor | -1/+1 | |
| 2019-09-26 | Rename `Pat.node` to `Pat.kind` | varkor | -1/+1 | |
| 2019-09-26 | Rename `Expr.node` to `Expr.kind` | varkor | -1/+1 | |
| For both `ast::Expr` and `hir::Expr`. | ||||
| 2019-09-15 | or-patterns: remove hack from lowering. | Mazdak Farrokhzad | -2/+0 | |
| 2019-09-07 | Apply suggestions from code review | Alexander Regueiro | -1/+1 | |
| 2019-09-07 | Aggregation of cosmetic changes made during work on REPL PRs: libsyntax | Alexander Regueiro | -10/+13 | |
| 2019-09-05 | or-patterns: address review comments. | Mazdak Farrokhzad | -1/+1 | |
| 2019-09-05 | or-patterns: syntax: adjust `visit` and `mut_visit`. | Mazdak Farrokhzad | -9/+8 | |
| 2019-08-27 | Cleanup: Consistently use `Param` instead of `Arg` #62426 | Kevin Per | -7/+7 | |
| 2019-08-24 | Modifies how Arg, Arm, Field, FieldPattern and Variant are visited | Caio | -25/+29 | |
| Part of the necessary work to accomplish #63468. | ||||
| 2019-08-17 | initial implementation of or-pattern parsing | Dan Robertson | -1/+1 | |
| Initial implementation of parsing or-patterns e.g., `Some(Foo | Bar)`. This is a partial implementation of RFC 2535. | ||||
| 2019-08-17 | Initial implementation of or patterns | varkor | -4/+3 | |
| 2019-08-15 | Remove `Spanned` from `{ast,hir}::FieldPat` | Vadim Petrochenkov | -3/+3 | |
| 2019-08-15 | Remove `Spanned` from `ast::Mac` | Vadim Petrochenkov | -1/+1 | |
| 2019-08-14 | Merge Variant and Variant_ | Caio | -4/+4 | |
| 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-02 | Replace "existential" by "opaque" | varkor | -2/+2 | |
| 2019-07-30 | Unsupport the await!(..) macro. | Mazdak Farrokhzad | -1/+1 | |
| 2019-07-28 | Rollup merge of #61856 - c410-f3r:attrs-fn, r=matthewjasper | Mazdak Farrokhzad | -5/+10 | |
| Lint attributes on function arguments Fixes #61238. cc #60406 | ||||
| 2019-07-28 | Adjust 'ast::PatKind::{TupleStruct,Tuple,Slice}'. | Mazdak Farrokhzad | -8/+6 | |
| 2019-07-28 | Add 'ast::PatKind::Rest'. | Mazdak Farrokhzad | -1/+1 | |
| 2019-07-27 | Lint attributes on function arguments | Caio | -5/+10 | |
| 2019-06-24 | Auto merge of #62075 - Centril:guardless-match-arms, r=petrochenkov | bors | -4/+2 | |
| Remove `ast::Guard` With the introduction of `ast::ExprKind::Let` in https://github.com/rust-lang/rust/pull/60861, the `ast::Guard` structure is now redundant in terms of representing [`if let` guards](https://github.com/rust-lang/rust/issues/51114) in AST since it can be represented by `ExprKind::Let` syntactically. Therefore, we remove `ast::Guard` here. However, we keep `hir::Guard` because the semantic representation is a different matter and this story is more unclear right now (might involve `goto 'arm` in HIR or something...). r? @petrochenkov | ||||
| 2019-06-23 | Remove redundant syntax::ast::Guard. | Mazdak Farrokhzad | -4/+2 | |
| 2019-06-23 | let_chains: Remove ast::ExprKind::{IfLet, WhileLet} from visitors and ↵ | Mazdak Farrokhzad | -12/+4 | |
| introduce ::Let. | ||||
| 2019-06-09 | Allow attributes in formal function parameters | Caio | -1/+2 | |
| 2019-06-07 | syntax: Treat error literals in more principled way | Vadim Petrochenkov | -2/+1 | |
| 2019-06-06 | syntax: Use `Token` in visitors and fix a mut visitor test | Vadim Petrochenkov | -3/+3 | |
| 2019-06-06 | syntax: Use `Token` in `TokenTree::Token` | Vadim Petrochenkov | -1/+1 | |
| 2019-06-06 | syntax: Rename `Token` into `TokenKind` | Vadim Petrochenkov | -2/+2 | |
| 2019-06-05 | Implemented for function bounds, type bounds, and named existential types. | Alexander Regueiro | -7/+14 | |
| 2019-06-05 | Aggregation of drive-by cosmetic changes. | Alexander Regueiro | -1/+1 | |
| 2019-06-03 | syntax: revert `ast::AsyncArgument` and associated changes. | Eduard-Mihai Burtescu | -3/+0 | |
| Here follows the main reverts applied in order to make this commit: Revert "Rollup merge of #60676 - davidtwco:issue-60674, r=cramertj" This reverts commit 45b09453dbf120cc23d889435aac3ed7d2ec8eb7, reversing changes made to f6df1f6c30b469cb9e65c5453a0efa03cbb6005e. Revert "Rollup merge of #60437 - davidtwco:issue-60236, r=nikomatsakis" This reverts commit 16939a50ea440e72cb6ecefdaabb988addb1ec0e, reversing changes made to 12bf98155249783583a91863c5dccf9e346f1226. Revert "Rollup merge of #59823 - davidtwco:issue-54716, r=cramertj" This reverts commit 62d1574876f5531bce1b267e62dff520d7adcbbb, reversing changes made to 4eff8526a789e0dfa8b97f7dec91b7b5c18e8544. | ||||
| 2019-05-24 | Remove `ObsoleteInPlace` | varkor | -4/+0 | |
| 2019-05-07 | Implement built-in await syntax | Taylor Cramer | -0/+1 | |
| 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-04-21 | Introduce `ArgSource` for diagnostics. | David Wood | -0/+3 | |
| This commit introduces an `ArgSource` enum that is lowered into the HIR so that diagnostics can correctly refer to the argument pattern's original name rather than the generated pattern. | ||||
| 2019-04-20 | Feature gate async fn methods | varkor | -0/+10 | |
| 2019-03-29 | Rollup merge of #59510 - varkor:rename-type_parameters, r=eddyb | Mazdak Farrokhzad | -9/+9 | |
| Rename `type_parameters` to `generics` and so on Some old variable names had fallen through the generics generalisation pull requests. | ||||
