| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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. | ||||
| 2019-03-29 | Rename `type_parameters` to `generics` and so on | varkor | -9/+9 | |
| 2019-03-27 | Visit path in `walk_mac` | varkor | -2/+2 | |
| 2019-02-28 | Auto merge of #57760 - dlrobertson:varargs1, r=alexreg | bors | -1/+1 | |
| Support defining C compatible variadic functions ## Summary Add support for defining C compatible variadic functions in unsafe rust with `extern "C"` according to [RFC 2137]. ## Details ### Parsing When parsing a user defined function that is `unsafe` and `extern "C"` allow variadic signatures and inject a "spoofed" `VaList` in the new functions signature. This allows the user to interact with the variadic arguments via a `VaList` instead of manually using `va_start` and `va_end` (See [RFC 2137] for details). ### Codegen When running codegen for a variadic function, remove the "spoofed" `VaList` from the function signature and inject `va_start` when the arg local references are created for the function and `va_end` on return. ## TODO - [x] Get feedback on injecting `va_start/va_end` in MIR vs codegen - [x] Properly inject `va_end` - It seems like it should be possible to inject `va_end` on the `TerminatorKind::Return`. I just need to figure out how to get the `LocalRef` here. - [x] Properly call Rust defined C variadic functions in Rust - The spoofed `VaList` causes problems here. Related to: #44930 r? @ghost [RFC 2137]: https://github.com/rust-lang/rfcs/blob/master/text/2137-variadic.md | ||||
| 2019-02-27 | Support defining C compatible variadic functions | Dan Robertson | -1/+1 | |
| Add support for defining C compatible variadic functions in unsafe rust with extern "C". | ||||
| 2019-02-24 | Deny `async fn` in 2015 edition | Nathan Corbyn | -4/+11 | |
| Fix style issues and update diagnostic messages Update src/librustc_passes/diagnostics.rs Co-Authored-By: doctorn <me@nathancorbyn.com> Deny nested `async fn` in Rust 2015 edition Deny nested `async fn` in Rust 2015 edition Deny nested `async fn` in Rust 2015 edition | ||||
| 2019-02-10 | rustc: doc comments | Alexander Regueiro | -3/+3 | |
