| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-07-27 | Move standard library injection into libsyntax_ext | Vadim Petrochenkov | -112/+0 | |
| 2019-07-19 | libsyntax: Remove `Mark` into `ExpnId` | Vadim Petrochenkov | -2/+2 | |
| 2019-07-11 | hygiene: Introduce a helper method for creating new expansions | Vadim Petrochenkov | -15/+7 | |
| Creating a fresh expansion and immediately generating a span from it is the most common scenario. Also avoid allocating `allow_internal_unstable` lists for derive markers repeatedly. And rename `ExpnInfo::with_unstable` to `ExpnInfo::allow_unstable`, seems to be a better fitting name. | ||||
| 2019-07-11 | hygiene: Reuse `MacroKind` in `ExpnKind` | Vadim Petrochenkov | -2/+3 | |
| Orthogonality and reuse are good. | ||||
| 2019-07-11 | Rename some things in `syntax_pos/hygiene` | Vadim Petrochenkov | -2/+2 | |
| More consistent with other naming: ExpnFormat -> ExpnKind ExpnKind::name -> ExpnKind::descr DesugaringKind::name -> DesugaringKind::descr Shorter, no tautology: CompilerDesugaring -> Desugaring CompilerDesugaringKind -> DesugaringKind | ||||
| 2019-06-18 | syntax: Introduce `default`/`with_unstable` constructors for `ExpnInfo` | Vadim Petrochenkov | -9/+3 | |
| 2019-06-18 | syntax: Factor out common fields from `SyntaxExtension` variants | Vadim Petrochenkov | -1/+1 | |
| 2019-05-27 | Avoid unnecessary internings. | Nicholas Nethercote | -4/+2 | |
| Most involving `Symbol::intern` on string literals. | ||||
| 2019-05-22 | Eliminate unnecessary `Ident::with_empty_ctxt`s | Vadim Petrochenkov | -1/+1 | |
| 2019-05-22 | Simplify use of keyword symbols | Vadim Petrochenkov | -3/+3 | |
| 2019-05-21 | Move `edition` outside the hygiene lock and avoid accessing it | John Kåre Alsaker | -4/+4 | |
| 2019-05-20 | Remove `Symbol::gensym()`. | Nicholas Nethercote | -4/+6 | |
| 2019-05-20 | Eliminate `Symbol::gensymed`. | Nicholas Nethercote | -9/+4 | |
| 2019-05-17 | Avoid unnecessary interning in `Ident::from_str()` calls. | Nicholas Nethercote | -3/+5 | |
| A lot of these static symbols are pre-interned. | ||||
| 2019-05-13 | Remove the equality operation between `Symbol` and strings. | Nicholas Nethercote | -0/+3 | |
| And also the equality between `Path` and strings, because `Path` is made up of `Symbol`s. | ||||
| 2019-05-13 | Pass a `Symbol` to `check_name`, `emit_feature_err`, and related functions. | Nicholas Nethercote | -4/+4 | |
| 2019-02-11 | Use `Rc<[Symbol]>` instead of `Vec<Symbol>` to reduce # of allocs | Oliver Scherer | -2/+2 | |
| 2019-02-11 | Require a list of features to allow in `allow_internal_unstable` | Oliver Scherer | -1/+3 | |
| 2019-02-07 | libsyntax => 2018 | Taiki Endo | -8/+9 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-04 | syntax: Rename some keywords | Vadim Petrochenkov | -1/+1 | |
| `CrateRoot` -> `PathRoot`, `::` doesn't necessarily mean crate root now `SelfValue` -> `SelfLower`, `SelfType` -> `SelfUpper`, both `self` and `Self` can be used in type and value namespaces now | ||||
| 2018-08-19 | mv codemap source_map | Donato Sciarra | -1/+1 | |
| 2018-08-19 | mv (mod) codemap source_map | Donato Sciarra | -1/+1 | |
| 2018-08-14 | syntax: gensym the injected std/core extern crates in the Rust 2018 edition. | Eduard-Mihai Burtescu | -7/+30 | |
| 2018-06-27 | Implement `#[macro_export(local_inner_macros)]` | Vadim Petrochenkov | -0/+1 | |
| 2018-06-23 | hygiene: Merge `NameAndSpan` into `ExpnInfo` | Vadim Petrochenkov | -8/+6 | |
| 2018-05-17 | Add edition to expansion info | Vadim Petrochenkov | -1/+2 | |
| 2018-04-16 | Reorder injection of std to get better compilation error | Russell Cohen | -1/+2 | |
| 2018-04-07 | Inject the `compiler_builtins` crate whenever the `core` crate is injected | Oliver Schneider | -15/+26 | |
| 2018-04-06 | Use `Ident` instead of `Name` in `MetaItem` | Vadim Petrochenkov | -1/+1 | |
| 2018-04-06 | Remove more duplicated spans | Vadim Petrochenkov | -2/+2 | |
| 2018-03-17 | Rename `Span::empty` to `Span::shrink_to_lo`, add `Span::shrink_to_hi` | Vadim Petrochenkov | -1/+1 | |
| 2018-03-17 | AST: Keep distinction between `path` and `::path` in imports and visibilities | Vadim Petrochenkov | -1/+1 | |
| Add the root segment for name resolution purposes only | ||||
| 2018-03-17 | AST/HIR: Clarify what the optional name in extern crate items mean | Vadim Petrochenkov | -4/+2 | |
| 2018-02-18 | Replace dummy spans with empty spans | Seiichi Uchida | -2/+2 | |
| 2018-02-18 | Change ast::Visibility to Spanned type | Seiichi Uchida | -3/+3 | |
| 2017-12-12 | Improve pretty printing `$crate::` paths. | Jeffrey Seyfried | -11/+15 | |
| 2017-11-30 | Implement RFC 2128 (use_nested_groups) | Pietro Albini | -6/+10 | |
| This commit adds support for nested groups inside `use` declarations, such as `use foo::{bar, sub::{baz::Foo, *}};`. | ||||
| 2017-08-30 | Make fields of `Span` private | Vadim Petrochenkov | -1/+1 | |
| 2017-08-15 | use field init shorthand EVERYWHERE | Zack M. Davis | -3/+3 | |
| Like #43008 (f668999), but _much more aggressive_. | ||||
| 2017-08-12 | syntax: #[allow_internal_unsafe] bypasses the unsafe_code lint in macros. | Eduard-Mihai Burtescu | -0/+1 | |
| 2017-07-28 | syntax: Add `tokens: Option<TokenStream>` to Item | Alex Crichton | -0/+2 | |
| This commit adds a new field to the `Item` AST node in libsyntax to optionally contain the original token stream that the item itself was parsed from. This is currently `None` everywhere but is intended for use later with procedural macros. | ||||
| 2017-05-25 | Hygienize `librustc_resolve`. | Jeffrey Seyfried | -1/+1 | |
| 2017-05-12 | Fix some clippy warnings in libsyntax | Andre Bogus | -2/+2 | |
| This is mostly removing stray ampersands, needless returns and lifetimes. | ||||
| 2017-03-29 | Merge `ExpnId` and `SyntaxContext`. | Jeffrey Seyfried | -13/+8 | |
| 2017-03-19 | Auto merge of #40346 - jseyfried:path_and_tokenstream_attr, r=nrc | bors | -5/+3 | |
| `TokenStream`-based attributes, paths in attribute and derive macro invocations This PR - refactors `Attribute` to use `Path` and `TokenStream` instead of `MetaItem`. - supports macro invocation paths for attribute procedural macros. - e.g. `#[::foo::attr_macro] struct S;`, `#[cfg_attr(all(), foo::attr_macro)] struct S;` - supports macro invocation paths for derive procedural macros. - e.g. `#[derive(foo::Bar, super::Baz)] struct S;` - supports arbitrary tokens as arguments to attribute procedural macros. - e.g. `#[foo::attr_macro arbitrary + tokens] struct S;` - supports using arbitrary tokens in "inert attributes" with derive procedural macros. - e.g. `#[derive(Foo)] struct S(#[inert arbitrary + tokens] i32);` where `#[proc_macro_derive(Foo, attributes(inert))]` r? @nrc | ||||
| 2017-03-14 | Refactor `Attribute` to use `Path` and `TokenStream` instead of `MetaItem`. | Jeffrey Seyfried | -5/+3 | |
| 2017-03-10 | Give spans to individual path segments in AST | Vadim Petrochenkov | -1/+1 | |
| 2017-02-03 | Switch logic to Span instead of HashMap | Guillaume Gomez | -1/+2 | |
| 2016-12-22 | Refactor how global paths are represented (for both ast and hir). | Jeffrey Seyfried | -2/+1 | |
