| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-07-18 | Implement existential types | Oliver Schneider | -0/+7 | |
| 2018-06-27 | Generate `DefId`s for the impl trait of `async` functions | Oliver Schneider | -10/+21 | |
| 2018-06-27 | Generate the `NodeId` for `existential type` in the AST | Oliver Schneider | -2/+2 | |
| 2018-06-26 | inclusive range syntax lint (`...` → `..=`) | Zack M. Davis | -2/+2 | |
| Our implementation ends up changing the `PatKind::Range` variant in the AST to take a `Spanned<RangeEnd>` instead of just a `RangeEnd`, because the alternative would be to try to infer the span of the range operator from the spans of the start and end subexpressions, which is both hideous and nontrivial to get right (whereas getting the change to the AST right was a simple game of type tennis). This is concerning #51043. | ||||
| 2018-06-21 | async await desugaring and tests | Taylor Cramer | -2/+23 | |
| 2018-06-21 | Parse async fn header. | Without Boats | -5/+3 | |
| This is gated on edition 2018 & the `async_await` feature gate. The parser will accept `async fn` and `async unsafe fn` as fn items. Along the same lines as `const fn`, only `async unsafe fn` is permitted, not `unsafe async fn`.The parser will not accept `async` functions as trait methods. To do a little code clean up, four fields of the function type struct have been merged into the new `FnHeader` struct: constness, asyncness, unsafety, and ABI. Also, a small bug in HIR printing is fixed: it previously printed `const unsafe fn` as `unsafe const fn`, which is grammatically incorrect. | ||||
| 2018-06-20 | Rename ParenthesizedArgData to ParenthesisedArgs | varkor | -6/+6 | |
| 2018-06-20 | Make GenericBound explicit | varkor | -3/+5 | |
| 2018-06-20 | Rename ParamBound(s) to GenericBound(s) | varkor | -8/+8 | |
| 2018-06-20 | Rename TraitTyParamBound to ParamBound::Trait | varkor | -2/+2 | |
| 2018-06-20 | Take advantage of the lifetime refactoring | varkor | -31/+29 | |
| 2018-06-20 | Lift bounds into GenericParam | varkor | -12/+11 | |
| 2018-06-20 | Rename structures in ast | varkor | -12/+12 | |
| 2018-06-20 | Refactor ast::GenericParam as a struct | varkor | -21/+6 | |
| 2018-06-20 | Rename ast::GenericParam and ast::GenericArg | varkor | -11/+11 | |
| It's so confusing to have everything having the same name, at least while refactoring. | ||||
| 2018-06-20 | Make method and variable names more consistent | varkor | -20/+24 | |
| 2018-06-20 | Rename "parameter" to "arg" | varkor | -19/+19 | |
| 2018-06-20 | Rename PathParameter(s) to GenericArg(s) | varkor | -25/+16 | |
| 2018-06-20 | Rename *Parameter to *Param | varkor | -7/+7 | |
| 2018-06-20 | Consolidate PathParameters and AngleBracketedParameterData | varkor | -3/+19 | |
| 2018-06-14 | create multiple HIR items for a use statement | QuietMisdreavus | -2/+3 | |
| 2018-06-12 | add fold::Folder::fold_qpath | Michael Lamparski | -25/+24 | |
| 2018-05-30 | syntax: remove overloading of fold_lifetime{,_def}{,s}. | Eduard-Mihai Burtescu | -54/+20 | |
| 2018-05-24 | restore emplacement syntax (obsolete) | Niko Matsakis | -0/+3 | |
| 2018-05-24 | Auto merge of #50971 - alexcrichton:no-stringify, r=petrochenkov | bors | -0/+1 | |
| rustc: Correctly pretty-print macro delimiters This commit updates the `Mac_` AST structure to keep track of the delimiters that it originally had for its invocation. This allows us to faithfully pretty-print macro invocations not using parentheses (e.g. `vec![...]`). This in turn helps procedural macros due to #43081. Closes #50840 | ||||
| 2018-05-22 | add `Span` information into `Qself` | Niko Matsakis | -3/+9 | |
| 2018-05-22 | rustc: Correctly pretty-print macro delimiters | Alex Crichton | -0/+1 | |
| This commit updates the `Mac_` AST structure to keep track of the delimiters that it originally had for its invocation. This allows us to faithfully pretty-print macro invocations not using parentheses (e.g. `vec![...]`). This in turn helps procedural macros due to #43081. Closes #50840 | ||||
| 2018-05-19 | rustc: introduce {ast,hir}::AnonConst to consolidate so-called "embedded ↵ | Eduard-Mihai Burtescu | -5/+17 | |
| constants". | ||||
| 2018-05-16 | label-break-value: Parsing and AST/HIR changes | est31 | -1/+4 | |
| 2018-05-13 | Macros: Add a 'literal' fragment specifier | Dan Aloni | -0/+1 | |
| Implements RFC 1576. See: https://github.com/rust-lang/rfcs/blob/master/text/1576-macros-literal-matcher.md Changes are mostly in libsyntax, docs, and tests. Feature gate is enabled for 1.27.0. Many thanks to Vadim Petrochenkov for following through code reviews and suggestions. Example: ````rust macro_rules! test_literal { ($l:literal) => { println!("literal: {}", $l); }; ($e:expr) => { println!("expr: {}", $e); }; } fn main() { let a = 1; test_literal!(a); test_literal!(2); test_literal!(-3); } ``` Output: ``` expr: 1 literal: 2 literal: -3 ``` | ||||
| 2018-04-12 | AST/HIR: Merge field access expressions for named and numeric fields | Vadim Petrochenkov | -5/+0 | |
| 2018-04-06 | Use `Ident` instead of `Name` in `MetaItem` | Vadim Petrochenkov | -1/+1 | |
| 2018-04-06 | Make lifetime nonterminals closer to identifier nonterminals | Vadim Petrochenkov | -2/+2 | |
| 2018-04-06 | Remove more duplicated spans | Vadim Petrochenkov | -7/+2 | |
| 2018-04-06 | Rename `ast::Variant_::name` into `ident` + Fix rebase | Vadim Petrochenkov | -1/+1 | |
| 2018-04-06 | Get rid of `SpannedIdent` | Vadim Petrochenkov | -15/+11 | |
| 2018-04-06 | Rename `PathSegment::identifier` to `ident` | Vadim Petrochenkov | -3/+3 | |
| 2018-04-05 | Rollup merge of #49350 - abonander:macros-in-extern, r=petrochenkov | Alex Crichton | -3/+17 | |
| Expand macros in `extern {}` blocks This permits macro and proc-macro and attribute invocations (the latter only with the `proc_macro` feature of course) in `extern {}` blocks, gated behind a new `macros_in_extern` feature. A tracking issue is now open at #49476 closes #48747 | ||||
| 2018-04-03 | expand macro invocations in `extern {}` blocks | Austin Bonander | -3/+17 | |
| 2018-04-03 | Remove all unstable placement features | Aidan Hobson Sayers | -3/+0 | |
| Closes #22181, #27779 | ||||
| 2018-03-18 | Initial implementation of RFC 2151, Raw Identifiers | Lymia Aluysia | -2/+3 | |
| 2018-03-17 | Rename `Span::empty` to `Span::shrink_to_lo`, add `Span::shrink_to_hi` | Vadim Petrochenkov | -1/+1 | |
| 2018-03-17 | AST: Make renames in imports closer to the source | Vadim Petrochenkov | -1/+2 | |
| Fix `unused_import_braces` lint false positive on `use prefix::{self as rename}` | ||||
| 2018-03-17 | AST/HIR: Clarify what the optional name in extern crate items mean | Vadim Petrochenkov | -1/+1 | |
| 2018-03-14 | Remove syntax and syntax_pos thread locals | John Kåre Alsaker | -19/+24 | |
| 2018-03-02 | Replace Rc with Lrc for shared data | John Kåre Alsaker | -2/+2 | |
| 2018-03-01 | Support parentheses in patterns under feature gate | Vadim Petrochenkov | -0/+1 | |
| Improve recovery for trailing comma after `..` | ||||
| 2018-02-24 | Implement multiple patterns with `|` in `if let` and `while let` | Vadim Petrochenkov | -4/+4 | |
| 2018-02-18 | Replace dummy spans with empty spans | Seiichi Uchida | -2/+2 | |
| 2018-02-18 | Change ast::Visibility to Spanned type | Seiichi Uchida | -8/+9 | |
