| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2017-08-15 | use field init shorthand EVERYWHERE | Zack M. Davis | -2/+2 | |
| Like #43008 (f668999), but _much more aggressive_. | ||||
| 2017-07-28 | syntax: Add `tokens: Option<TokenStream>` to Item | Alex Crichton | -0/+1 | |
| 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-06-11 | Add E0609 | Guillaume Gomez | -0/+11 | |
| 2017-05-30 | Add new error code | Guillaume Gomez | -0/+8 | |
| 2017-05-25 | Hygienize lifetimes. | Jeffrey Seyfried | -1/+1 | |
| 2017-05-15 | adressed comments by @kennytm and @petrochenkov | Andre Bogus | -2/+2 | |
| 2017-05-12 | Fix some clippy warnings in libsyntax | Andre Bogus | -3/+3 | |
| This is mostly removing stray ampersands, needless returns and lifetimes. | ||||
| 2016-11-21 | Use `Symbol` instead of `InternedString` in the AST, HIR, and various other ↵ | Jeffrey Seyfried | -3/+3 | |
| places. | ||||
| 2016-11-20 | Move `syntax::util::interner` -> `syntax::symbol`, cleanup. | Jeffrey Seyfried | -1/+2 | |
| 2016-09-28 | libsyntax: clearer names for some AST parts | Jonas Schievink | -1/+1 | |
| This applies the HIR changes from the previous commits to the AST, and is thus a syntax-[breaking-change] Renames `PatKind::Vec` to `PatKind::Slice`, since these are called slice patterns, not vec patterns. Renames `TyKind::Vec`, which represents the type `[T]`, to `TyKind::Slice`. Renames `TyKind::FixedLengthVec` to `TyKind::Array`. | ||||
| 2016-06-26 | Rollup merge of #34385 - cgswords:tstream, r=nrc | Jeffrey Seyfried | -1/+2 | |
| syntax-[breaking-change] cc #31645 (Only breaking because ast::TokenTree is now tokenstream::TokenTree.) This pull request refactors TokenTrees into their own file as src/libsyntax/tokenstream.rs, moving them out of src/libsyntax/ast.rs, in order to prepare for an accompanying TokenStream implementation (per RFC 1566). | ||||
| 2016-06-24 | reexport errors from syntax. fix failing cfail test | Jonathan Turner | -0/+2 | |
| 2016-06-23 | Move errors from libsyntax to its own crate | Jonathan Turner | -28/+2 | |
| 2016-06-21 | Refactored tokentrees into their own files in preparation for tokenstreams. ↵ | cgswords | -1/+2 | |
| Modified tests to point to the new file now. | ||||
| 2016-05-02 | replace fileline_{help,note} with {help,note} | Niko Matsakis | -3/+3 | |
| The extra filename and line was mainly there to keep the indentation relative to the main snippet; now that this doesn't include filename/line-number as a prefix, it is distracted. | ||||
| 2016-04-24 | syntax: Get rid of token::IdentStyle | Vadim Petrochenkov | -5/+5 | |
| 2016-03-22 | try! -> ? | Jorge Aparicio | -4/+4 | |
| Automated conversion using the untry tool [1] and the following command: ``` $ find -name '*.rs' -type f | xargs untry ``` at the root of the Rust repo. [1]: https://github.com/japaric/untry | ||||
| 2016-02-11 | [breaking-change] don't glob export ast::Visibility variants | Oliver 'ker' Schneider | -1/+1 | |
| 2016-02-11 | [breaking-change] don't glob export ast::Mutablity variants | Oliver 'ker' Schneider | -1/+1 | |
| 2016-02-11 | [breaking-change] don't glob export ast::Item_ variants | Oliver 'ker' Schneider | -1/+1 | |
| 2016-02-11 | [breaking-change] don't pub export ast::Ty_ variants | Oliver Schneider | -2/+2 | |
| 2016-01-28 | Avoid ICE if environment variable is not set | Ruud van Asseldonk | -14/+18 | |
| Rustdoc could trigger a code path that relied on the $CFG_COMPILER_HOST_TRIPLE environment variable being set, causing an ICE if it was not. This fixes that, emitting an error instead of crashing. | ||||
| 2015-12-30 | use structured errors | Nick Cameron | -11/+47 | |
| 2015-11-06 | remove `Tt` prefix from TokenType variants | Oliver Schneider | -7/+7 | |
| [breaking change] | ||||
| 2015-09-24 | Cleanup interfaces of Name, SyntaxContext and Ident | Vadim Petrochenkov | -1/+1 | |
| Make sure Name, SyntaxContext and Ident are passed by value Make sure Idents don't serve as keys (or parts of keys) in maps, Ident comparison is not well defined | ||||
| 2015-08-12 | Introduce a "origin/cause" for new requirements (or bugfixes...) introduced ↵ | Niko Matsakis | -0/+12 | |
| by RFC 1214, and issue a warning (and explanatory note) when we encounter such a thing. | ||||
| 2015-08-09 | Use https URLs to refer to rust-lang.org where appropriate. | Eli Friedman | -1/+1 | |
| Also fixes a few outdated links. | ||||
| 2015-07-28 | remove `get_ident` and `get_name`, make `as_str` sound | Oliver Schneider | -11/+14 | |
| 2015-07-17 | Improve register_long_diagnostics macro | Guillaume Gomez | -0/+3 | |
| 2015-07-16 | Improve register_diagnostics macro | Guillaume Gomez | -0/+3 | |
| 2015-06-20 | diagnostics: Resurrect the Compiler Error Index. | Michael Sproul | -87/+45 | |
| 2015-06-14 | diagnostics: Allow long URLs in error explanations. | Michael Sproul | -2/+9 | |
| 2015-06-07 | change some statics to constants | Oliver 'ker' Schneider | -2/+1 | |
| 2015-05-22 | Remove error diagnostics uniqueness check and .json generation. | Felix S. Klock II | -17/+4 | |
| This is meant to be a temporary measure to get the builds to be reliable again; see also Issue #25705. | ||||
| 2015-04-30 | Add metadata output to the diagnostics system. | Michael Sproul | -34/+217 | |
| Diagnostic errors are now checked for uniqueness across the compiler and error metadata is written to JSON files. | ||||
| 2015-04-21 | syntax: remove #[feature(quote, unsafe_destructor)] | Erick Tryzelaar | -5/+43 | |
| 2015-04-21 | syntax: Remove uses of #[feature(slice_patterns)] | Erick Tryzelaar | -9/+14 | |
| 2015-04-17 | Enforce 80 char lines in extended errors. | Michael Sproul | -3/+12 | |
| 2015-04-17 | Validate format of extended error descriptions. | Michael Sproul | -0/+12 | |
| 2015-03-03 | Change span_help calls to fileline_help where appropriate | Ivan Radanov Ivanov | -0/+7 | |
| 2015-02-27 | Replace MacExpr / MacPat / MacItems with MacEager | Keegan McAllister | -5/+6 | |
| MacEager is a MacResult implementation for the common case where you've already built each form of AST that you might return. Fixes #17637. Based on #18814. This is a [breaking-change] for syntax extensions: * MacExpr::new becomes MacEager::expr. * MacPat::new becomes MacEager::pat. * MacItems::new becomes MacEager::items. It takes a SmallVector directly, not an iterator. | ||||
| 2015-02-18 | rollup merge of #22502: nikomatsakis/deprecate-bracket-bracket | Alex Crichton | -4/+4 | |
| Conflicts: src/libcollections/slice.rs src/libcollections/str.rs src/librustc/middle/lang_items.rs src/librustc_back/rpath.rs src/librustc_typeck/check/regionck.rs src/libstd/ffi/os_str.rs src/libsyntax/diagnostic.rs src/libsyntax/parse/parser.rs src/libsyntax/util/interner.rs src/test/run-pass/regions-refcell.rs | ||||
| 2015-02-18 | Replace all uses of `&foo[]` with `&foo[..]` en masse. | Niko Matsakis | -4/+4 | |
| 2015-02-18 | Remove usage of .map(|&foo| foo) | Kevin Butler | -1/+1 | |
| 2015-02-18 | Opt for .cloned() over .map(|x| x.clone()) etc. | Kevin Butler | -1/+1 | |
| 2015-02-09 | Refactor compilation to make it easier to use for tools | Nick Cameron | -0/+1 | |
| 2015-02-06 | Update to last version, remove "[]" as much as possible | GuillaumeGomez | -4/+4 | |
| 2015-02-06 | Libsyntax has been updated | GuillaumeGomez | -5/+4 | |
| 2015-02-06 | Replace the get method by the deref one on InternedString | GuillaumeGomez | -4/+6 | |
| 2015-02-05 | cleanup: replace `as[_mut]_slice()` calls with deref coercions | Jorge Aparicio | -5/+5 | |
