| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-05-26 | Auto merge of #51072 - petrochenkov:ifield, r=eddyb | bors | -2/+2 | |
| Use `Ident`s for fields in HIR Continuation of https://github.com/rust-lang/rust/pull/49718, part of https://github.com/rust-lang/rust/issues/49300 | ||||
| 2018-05-26 | Add `Ident::as_str` helper | Vadim Petrochenkov | -2/+2 | |
| 2018-05-24 | restore emplacement syntax (obsolete) | Niko Matsakis | -0/+7 | |
| 2018-05-22 | rustc: Correctly pretty-print macro delimiters | Alex Crichton | -54/+50 | |
| 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 | -6/+6 | |
| constants". | ||||
| 2018-05-17 | Turn some functions from `token.rs` into methods on `Ident` | Vadim Petrochenkov | -1/+1 | |
| 2018-05-16 | Auto merge of #50045 - est31:label_break_value, r=eddyb | bors | -3/+12 | |
| Implement label break value (RFC 2046) Implement label-break-value (#48594). | ||||
| 2018-05-16 | label-break-value: Parsing and AST/HIR changes | est31 | -3/+12 | |
| 2018-05-15 | Represent lifetimes as two joint tokens in proc macros | Vadim Petrochenkov | -0/+1 | |
| 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-05-06 | Fix assertion message generation | Shotaro Yamada | -1/+1 | |
| 2018-05-03 | Auto merge of #50030 - flip1995:rfc2103, r=petrochenkov | bors | -16/+21 | |
| Implement tool_attributes feature (RFC 2103) cc #44690 This is currently just a rebased and compiling (hopefully) version of #47773. Let's see if travis likes this. I will add the implementation for `tool_lints` this week. | ||||
| 2018-05-03 | Remove parse::escape_default(). | Nicholas Nethercote | -1/+1 | |
| str::escape_default() can be used instead. | ||||
| 2018-05-02 | make it compile again | flip1995 | -8/+8 | |
| 2018-05-02 | Remove Option from the return type of Attribute::name() | Seiichi Uchida | -0/+1 | |
| 2018-05-02 | Allow Path for name of MetaItem | Seiichi Uchida | -16/+20 | |
| 2018-04-26 | rustc_target: move in syntax::abi and flip dependency. | Irina Popa | -1/+1 | |
| 2018-04-18 | Auto merge of #49993 - nnethercote:shrink-Token, r=alexcrichton | bors | -3/+3 | |
| Change the hashcounts in raw `Lit` variants from usize to u16. This reduces the size of `Token` from 32 bytes to 24 bytes on 64-bit platforms. | ||||
| 2018-04-12 | AST/HIR: Merge field access expressions for named and numeric fields | Vadim Petrochenkov | -7/+1 | |
| 2018-04-12 | Change the hashcounts in raw `Lit` variants from usize to u16. | Nicholas Nethercote | -3/+3 | |
| This reduces the size of `Token` from 32 bytes to 24 bytes on 64-bit platforms. | ||||
| 2018-04-07 | Inject the `compiler_builtins` crate whenever the `core` crate is injected | Oliver Schneider | -1/+1 | |
| 2018-04-06 | Use `Ident` instead of `Name` in `MetaItem` | Vadim Petrochenkov | -7/+7 | |
| 2018-04-06 | Make lifetime nonterminals closer to identifier nonterminals | Vadim Petrochenkov | -1/+1 | |
| 2018-04-06 | Rename `ast::Variant_::name` into `ident` + Fix rebase | Vadim Petrochenkov | -2/+2 | |
| 2018-04-06 | Get rid of `SpannedIdent` | Vadim Petrochenkov | -26/+26 | |
| 2018-04-06 | Rename `PathSegment::identifier` to `ident` | Vadim Petrochenkov | -12/+12 | |
| 2018-04-06 | Use `Span` instead of `SyntaxContext` in `Ident` | Vadim Petrochenkov | -2/+2 | |
| 2018-04-05 | Rollup merge of #49350 - abonander:macros-in-extern, r=petrochenkov | Alex Crichton | -0/+9 | |
| 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 | -0/+9 | |
| 2018-04-03 | Remove all unstable placement features | Aidan Hobson Sayers | -13/+0 | |
| Closes #22181, #27779 | ||||
| 2018-03-27 | Fix pretty-printing for raw identifiers | Vadim Petrochenkov | -1/+5 | |
| 2018-03-18 | Initial implementation of RFC 2151, Raw Identifiers | Lymia Aluysia | -19/+21 | |
| 2018-03-18 | Auto merge of #48917 - petrochenkov:import, r=oli-obk | bors | -38/+27 | |
| syntax: Make imports in AST closer to the source and cleanup their parsing This is a continuation of https://github.com/rust-lang/rust/pull/45846 in some sense. | ||||
| 2018-03-17 | Rename `Span::empty` to `Span::shrink_to_lo`, add `Span::shrink_to_hi` | Vadim Petrochenkov | -2/+2 | |
| 2018-03-17 | AST: Keep distinction between `path` and `::path` in imports and visibilities | Vadim Petrochenkov | -24/+19 | |
| Add the root segment for name resolution purposes only | ||||
| 2018-03-17 | AST: Make renames in imports closer to the source | Vadim Petrochenkov | -4/+3 | |
| 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 | -8/+3 | |
| 2018-03-17 | syntax: Make `_` an identifier | Vadim Petrochenkov | -1/+0 | |
| 2018-03-14 | Remove syntax and syntax_pos thread locals | John Kåre Alsaker | -23/+28 | |
| 2018-03-01 | Support parentheses in patterns under feature gate | Vadim Petrochenkov | -0/+5 | |
| Improve recovery for trailing comma after `..` | ||||
| 2018-02-24 | Implement multiple patterns with `|` in `if let` and `while let` | Vadim Petrochenkov | -18/+23 | |
| 2018-02-18 | Replace dummy spans with empty spans | Seiichi Uchida | -2/+2 | |
| 2018-02-18 | Change ast::Visibility to Spanned type | Seiichi Uchida | -11/+19 | |
| 2018-01-25 | Rollup merge of #47502 - petrochenkov:label, r=eddyb | Alex Crichton | -18/+18 | |
| AST/HIR: Add a separate structure for labels | ||||
| 2018-01-23 | Adds support for immovable generators. Move checking of invalid borrows ↵ | John Kåre Alsaker | -1/+10 | |
| across suspension points to borrowck. Fixes #44197, #45259 and #45093. | ||||
| 2018-01-22 | AST/HIR: Add a separate structure for labels | Vadim Petrochenkov | -18/+18 | |
| 2018-01-15 | Use single source of truth for expr precedence | Esteban Küber | -1/+1 | |
| Introduce a new unified type that holds the expression precedence for both AST and HIR nodes. | ||||
| 2018-01-13 | Remove `impl Foo for ..` in favor of `auto trait Foo` | leonardo.yvens | -12/+0 | |
| No longer parse it. Remove AutoTrait variant from AST and HIR. Remove backwards compatibility lint. Remove coherence checks, they make no sense for the new syntax. Remove from rustdoc. | ||||
| 2017-12-28 | Resurrecting #33135 | Michael Hewson | -0/+1 | |
| Started rebasing @sgrif's PR #33135 off of current master. (Well, actually merging it into a new branch based off current master.) The following files still need to be fixed or at least reviewed: - `src/libsyntax/ext/tt/macro_parser.rs`: calls `Parser::parse_lifetime`, which doesn't exist anymore - `src/libsyntax/parse/parser.rs`: @sgrif added an error message to `Parser::parse_lifetime`. Code has since been refactored, so I just took it out for now. - `src/libsyntax/ext/tt/transcribe.rs`: This code has been refactored bigtime. Not sure whether @sgrif's changes here are still necessary. Took it out for this commit. | ||||
| 2017-12-21 | Add GenericParam, refactor Generics in ast, hir, rustdoc | Jonas Platte | -67/+44 | |
| The Generics now contain one Vec of an enum for the generic parameters, rather than two separate Vec's for lifetime and type parameters. Additionally, places that previously used Vec<LifetimeDef> now use Vec<GenericParam> instead. | ||||
