| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-07-10 | Deny bare trait objects in in src/libsyntax | ljedrz | -2/+2 | |
| 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-06-21 | async await desugaring and tests | Taylor Cramer | -3/+9 | |
| 2018-06-21 | Parse async fn header. | Without Boats | -21/+25 | |
| 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 | Remove methods from ast::GenericParam and ast::Generics | varkor | -1/+1 | |
| 2018-06-14 | create multiple HIR items for a use statement | QuietMisdreavus | -2/+2 | |
| 2018-06-06 | append unused variables with _ | dylan_DPC | -3/+3 | |
| 2018-06-05 | remove redundant match branch | dylan_DPC | -1/+0 | |
| 2018-06-02 | Stabilize unit tests with non-`()` return type | dylan_DPC | -31/+7 | |
| 2018-05-26 | Add `Ident::as_str` helper | Vadim Petrochenkov | -1/+1 | |
| 2018-05-17 | Add edition to expansion info | Vadim Petrochenkov | -1/+2 | |
| 2018-04-26 | Fixed tidy errors. | Irina Popa | -1/+3 | |
| 2018-04-26 | rustc_target: move in syntax::abi and flip dependency. | Irina Popa | -1/+1 | |
| 2018-04-23 | Don't allow #[should_panic] with non-() tests | Russell Cohen | -27/+40 | |
| 2018-04-06 | Use `Ident` instead of `Name` in `MetaItem` | Vadim Petrochenkov | -4/+4 | |
| 2018-04-06 | Remove more duplicated spans | Vadim Petrochenkov | -1/+1 | |
| 2018-03-27 | Auto merge of #49279 - varkor:generated-closure-return-type, r=alexcrichton | bors | -1/+1 | |
| Fix implicit closure return type generation for libsyntax The `lambda` function for constructing closures in libsyntax was explicitly setting the return type to `_`, which resulted in incorrect corresponding syntax (as `|| -> _ x` is not valid, without the enclosing brackets). This meant the generated code, when printed, was invalid. I also took the opportunity to slightly improve the generated code for the `RustcEncodable::encode` method for unit structs. Fixes #42213. | ||||
| 2018-03-25 | Rollup merge of #49162 - tmandry:stabilize-termination-trait, r=nikomatsakis | kennytm | -4/+4 | |
| Stabilize termination_trait, split out termination_trait_test For #48453. First time contribution, so I'd really appreciate any feedback on how this PR can be better. Not sure exactly what kind of documentation update is needed. If there is no PR to update the reference, I can try doing that this week as I have time. | ||||
| 2018-03-22 | Use FunctionRetTy::Default rather than an explicit TyKind::Infer for ↵ | varkor | -1/+1 | |
| lambda-building This prevents explicit `-> _` return type annotations for closures generated by `lambda`. | ||||
| 2018-03-22 | Rollup merge of #49117 - nivkner:fixme_fixup3, r=estebank | kennytm | -7/+14 | |
| address some FIXME whose associated issues were marked as closed part of #44366 | ||||
| 2018-03-19 | Split out termination_trait_test feature gate | Tyler Mandry | -4/+4 | |
| 2018-03-17 | AST: Make renames in imports closer to the source | Vadim Petrochenkov | -6/+7 | |
| Fix `unused_import_braces` lint false positive on `use prefix::{self as rename}` | ||||
| 2018-03-17 | remove FIXME(#2543) and avoid bad copies | Niv Kaminer | -7/+14 | |
| 2018-03-02 | Replace Rc with Lrc for shared data | John Kåre Alsaker | -1/+0 | |
| 2018-02-24 | Rollup merge of #48143 - nikomatsakis:termination_trait_in_tests, r=eddyb | Manish Goregaokar | -45/+146 | |
| Termination trait in tests Support the `Termination` trait in unit tests (cc https://github.com/rust-lang/rust/issues/43301) Also, a drive-by fix for #47075. This is joint work with @bkchr. | ||||
| 2018-02-22 | handle `#[bench]` functions better | Niko Matsakis | -19/+43 | |
| 2018-02-22 | put the "unit test" logic into libtest | Niko Matsakis | -36/+24 | |
| Also make `std::termination` module public and rename feature. The lib feature needs a different name from the language feature. | ||||
| 2018-02-22 | begin crate-relative paths with `crate` | Niko Matsakis | -3/+6 | |
| 2018-02-22 | support unit tests with return values that implement `Terminaton` | Niko Matsakis | -42/+128 | |
| Extend `Termination` trait with a method to determine what happens with a unit test. This commit incorporates work by Bastian Köcher <git@kchr.de>. | ||||
| 2018-02-18 | Change ast::Visibility to Spanned type | Seiichi Uchida | -9/+9 | |
| 2018-01-26 | Do not capture stderr in the compiler. Instead just panic silently for fatal ↵ | John Kåre Alsaker | -1/+1 | |
| errors | ||||
| 2017-12-28 | Prefer to use attr::contains_name() and attr::find_by_name() | Seiichi Uchida | -3/+3 | |
| 2017-12-21 | Add GenericParam, refactor Generics in ast, hir, rustdoc | Jonas Platte | -1/+4 | |
| 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. | ||||
| 2017-12-17 | syntax: Rename `P::unwrap` into `P::into_inner` | Vadim Petrochenkov | -1/+1 | |
| 2017-12-09 | Use hygiene to access the injected crate (`core` or `std`) from builtin macros. | Jeffrey Seyfried | -2/+1 | |
| 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-25 | syntax: clarify field name | Tamir Duberstein | -10/+5 | |
| The value of this field is meant to indicate whether or not the crate is rustc's libtest itself - not whether or not it is a test crate generally. | ||||
| 2017-08-25 | syntax: remove unused field | Tamir Duberstein | -2/+0 | |
| 2017-08-15 | use field init shorthand EVERYWHERE | Zack M. Davis | -12/+12 | |
| 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 | -5/+11 | |
| 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-07-06 | Remove unused code from librustc_errors | Kevin Mehall | -1/+0 | |
| 2017-06-24 | add `allow_fail` test attribute | Paul Woolcock | -3/+11 | |
| This change allows the user to add an `#[allow_fail]` attribute to tests that will cause the test to compile & run, but if the test fails it will not cause the entire test run to fail. The test output will show the failure, but in yellow instead of red, and also indicate that it was an allowed failure. | ||||
| 2017-05-30 | Turn sufficiently old compatibility lints into hard errors | Vadim Petrochenkov | -8/+0 | |
| 2017-05-25 | Hygienize lifetimes. | Jeffrey Seyfried | -1/+1 | |
| 2017-05-25 | Hygienize `librustc_resolve`. | Jeffrey Seyfried | -1/+1 | |
| 2017-05-12 | Fix some clippy warnings in libsyntax | Andre Bogus | -11/+8 | |
| This is mostly removing stray ampersands, needless returns and lifetimes. | ||||
| 2017-05-05 | Add Options type in libtest and remove argument | Guillaume Gomez | -2/+2 | |
