| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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 | |
| 2016-12-19 | Optimize `ast::PathSegment`. | Jeffrey Seyfried | -3/+2 | |
| 2016-11-20 | Move `syntax::util::interner` -> `syntax::symbol`, cleanup. | Jeffrey Seyfried | -8/+8 | |
| 2016-11-20 | Refactor `P<ast::MetaItem>` -> `ast::MetaItem`. | Jeffrey Seyfried | -2/+2 | |
| 2016-11-20 | Move `MetaItemKind`'s `Name` to a field of `MetaItem`. | Jeffrey Seyfried | -1/+2 | |
| 2016-11-20 | Refactor `MetaItemKind` to use `Name`s instead of `InternedString`s. | Jeffrey Seyfried | -3/+3 | |
| 2016-11-20 | Refactor away `ast::Attribute_`. | Jeffrey Seyfried | -9/+7 | |
| 2016-10-07 | Combine `std_inject::{no_core, no_std}` into `std_inject::injected_crate_name`. | Jeffrey Seyfried | -10/+12 | |
| 2016-06-23 | Move errors from libsyntax to its own crate | Jonathan Turner | -2/+2 | |
| 2016-06-07 | Refactor away the prelude injection pass | Jeffrey Seyfried | -125/+47 | |
| 2016-04-24 | syntax: Merge keywords and remaining special idents in one list | Vadim Petrochenkov | -2/+2 | |
| Simplify the macro used for generation of keywords Make `Keyword::ident` private | ||||
| 2016-04-24 | syntax: Make static/super/self/Self keywords + special ident cleanup | Vadim Petrochenkov | -2/+4 | |
| 2016-02-11 | [breaking-change] don't glob export ast::Visibility variants | Oliver 'ker' Schneider | -2/+2 | |
| 2016-02-11 | [breaking-change] don't glob export ast::MetaItem_ | Oliver 'ker' Schneider | -1/+1 | |
| 2016-02-11 | [breaking-change] don't glob export ast::Item_ variants | Oliver 'ker' Schneider | -2/+2 | |
| 2015-10-01 | Stop re-exporting AttrStyle's variants and rename them. | Ms2ger | -1/+1 | |
| 2015-08-28 | Move ExpnInfo to Name | Manish Goregaokar | -3/+2 | |
| 2015-08-27 | Enumify CompilerExpansion in ExpnInfo | Manish Goregaokar | -2/+1 | |
| 2015-08-03 | syntax: Implement #![no_core] | Alex Crichton | -30/+29 | |
| This commit is an implementation of [RFC 1184][rfc] which tweaks the behavior of the `#![no_std]` attribute and adds a new `#![no_core]` attribute. The `#![no_std]` attribute now injects `extern crate core` at the top of the crate as well as the libcore prelude into all modules (in the same manner as the standard library's prelude). The `#![no_core]` attribute disables both std and core injection. [rfc]: https://github.com/rust-lang/rfcs/pull/1184 | ||||
| 2015-07-28 | remove `get_ident` and `get_name`, make `as_str` sound | Oliver Schneider | -2/+1 | |
| 2015-07-05 | Feature-gate #[prelude_import]. | Eduard Burtescu | -15/+33 | |
| 2015-03-27 | Unquote all crate names without underscores | Richo Healey | -1/+1 | |
| 2015-03-24 | rustc: Add support for `extern crate foo as bar` | Alex Crichton | -3/+3 | |
| The compiler will now issue a warning for crates that have syntax of the form `extern crate "foo" as bar`, but it will still continue to accept this syntax. Additionally, the string `foo-bar` will match the crate name `foo_bar` to assist in the transition period as well. This patch will land hopefully in tandem with a Cargo patch that will start translating all crate names to have underscores instead of hyphens. cc #23533 | ||||
| 2015-02-20 | Remove remaining uses of `[]`. This time I tried to use deref coercions ↵ | Niko Matsakis | -3/+3 | |
| where possible. | ||||
| 2015-02-18 | rollup merge of #22286: nikomatsakis/variance-4b | Alex Crichton | -5/+6 | |
| Conflicts: src/librustc/middle/infer/combine.rs src/librustc_typeck/check/wf.rs | ||||
| 2015-02-18 | Replace all uses of `&foo[]` with `&foo[..]` en masse. | Niko Matsakis | -1/+1 | |
| 2015-02-18 | Fallout: remove unused type and region parameters. | Niko Matsakis | -5/+6 | |
| 2015-02-07 | Fake up #![no_std] on pretty-printing; keep it out of AST | Keegan McAllister | -13/+0 | |
