| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-09-04 | Introduce Custom Test Frameworks | John Renner | -1/+1 | |
| 2018-09-01 | Auto merge of #53815 - F001:if-let-guard, r=petrochenkov | bors | -1/+6 | |
| refactor match guard This is the first step to implement RFC 2294: if-let-guard. Tracking issue: https://github.com/rust-lang/rust/issues/51114 The second step should be introducing another variant `IfLet` in the Guard enum. I separated them into 2 PRs for the convenience of reviewers. r? @petrochenkov | ||||
| 2018-08-30 | introduce Guard enum | F001 | -1/+6 | |
| 2018-08-28 | Use FxHash{Map,Set} instead of the default Hash{Map,Set} everywhere in rustc. | Eduard-Mihai Burtescu | -2/+2 | |
| 2018-08-23 | Auto merge of #52602 - scottmcm:tryblock-expr, r=nikomatsakis | bors | -3/+3 | |
| Implement try block expressions I noticed that `try` wasn't a keyword yet in Rust 2018, so... ~~Fixes https://github.com/rust-lang/rust/issues/52604~~ That was fixed by PR https://github.com/rust-lang/rust/pull/53135 cc https://github.com/rust-lang/rust/issues/31436 https://github.com/rust-lang/rust/issues/50412 | ||||
| 2018-08-19 | Rename `Catch` variants to `TryBlock` | Scott McMurray | -3/+3 | |
| (Not `Try` since `QuestionMark` is using that.) | ||||
| 2018-08-19 | mv (mod) codemap source_map | Donato Sciarra | -1/+1 | |
| 2018-08-14 | Auto merge of #53085 - ljedrz:cleanup_syntax_structures, r=ljedrz | bors | -1/+1 | |
| Move SmallVector and ThinVec out of libsyntax - move `libsyntax::util::SmallVector` tests to `librustc_data_structures::small_vec` - remove `libsyntax::util::SmallVector` - move `libsyntax::util::thin_vec` to `librustc_data_structures::thin_vec` Other than moving these data structures where they belong it allows modules using `SmallVector<T>` (`SmallVec<[T; 1]>`) to specify their own length (e.g. 8 or 32) independently from `libsyntax`. | ||||
| 2018-08-14 | rustc_resolve: fix special-case for one-segment import paths. | Eduard-Mihai Burtescu | -1/+1 | |
| 2018-08-13 | Move SmallVec and ThinVec out of libsyntax | ljedrz | -1/+1 | |
| 2018-08-03 | Don't collect() when size_hint is useless | ljedrz | -1/+5 | |
| 2018-08-01 | Switch syntax attribute tracking to BitVector | Mark Rousskov | -1/+11 | |
| 2018-07-29 | Replace push loops with collect() and extend() where possible | ljedrz | -8/+2 | |
| 2018-07-18 | Implement existential types | Oliver Schneider | -0/+6 | |
| 2018-07-15 | Update clippy and rls | Oliver Schneider | -3/+3 | |
| 2018-07-14 | Address comments | Vadim Petrochenkov | -2/+3 | |
| 2018-07-14 | Remove most of `Hash` impls from AST and HIR structures | Vadim Petrochenkov | -99/+99 | |
| 2018-07-14 | Remove most of `PartialEq` impls from AST and HIR structures | Vadim Petrochenkov | -100/+115 | |
| 2018-07-01 | Auto merge of #51883 - estebank:placement-suggestion, r=varkor | bors | -0/+10 | |
| Suggest correct comparison against negative literal When parsing as emplacement syntax (`x<-1`), suggest the correct syntax for comparison against a negative value (`x< -1`). Fix #45651. | ||||
| 2018-06-28 | Suggest correct comparison against negative literal | Esteban Küber | -0/+10 | |
| When parsing as emplacement syntax (`x<-1`), suggest the correct syntax for comparison against a negative value (`x< -1`). | ||||
| 2018-06-27 | Add a convenience method for getting the impl Trait `NodeId` of an `IsAysnc` | Oliver Schneider | -0/+7 | |
| 2018-06-27 | Generate `DefId`s for the impl trait of `async` functions | Oliver Schneider | -2/+5 | |
| 2018-06-27 | Generate the `NodeId` for `existential type` in the AST | Oliver Schneider | -1/+5 | |
| 2018-06-26 | inclusive range syntax lint (`...` → `..=`) | Zack M. Davis | -1/+1 | |
| Our implementation ends up changing the `PatKind::Range` variant in the AST to take a `Spanned<RangeEnd>` instead of just a `RangeEnd`, because the alternative would be to try to infer the span of the range operator from the spans of the start and end subexpressions, which is both hideous and nontrivial to get right (whereas getting the change to the AST right was a simple game of type tennis). This is concerning #51043. | ||||
| 2018-06-26 | migrate codebase to `..=` inclusive range patterns | Zack M. Davis | -2/+2 | |
| These were stabilized in March 2018's #47813, and are the Preferred Way to Do It going forward (q.v. #51043). | ||||
| 2018-06-21 | async await desugaring and tests | Taylor Cramer | -2/+22 | |
| 2018-06-21 | Parse async fn header. | Without Boats | -5/+32 | |
| 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 | Rename ParenthesizedArgData to ParenthesisedArgs | varkor | -3/+3 | |
| 2018-06-20 | Make GenericBound explicit | varkor | -5/+4 | |
| 2018-06-20 | Rename ParamBound(s) to GenericBound(s) | varkor | -13/+13 | |
| 2018-06-20 | Rename TraitTyParamBound to ParamBound::Trait | varkor | -3/+3 | |
| 2018-06-20 | Take advantage of the lifetime refactoring | varkor | -1/+1 | |
| 2018-06-20 | Remove name from GenericParamKind::Lifetime | varkor | -3/+1 | |
| 2018-06-20 | Use ParamBounds in WhereRegionPredicate | varkor | -1/+1 | |
| 2018-06-20 | Lift bounds into GenericParam | varkor | -23/+22 | |
| 2018-06-20 | Rename structures in ast | varkor | -10/+10 | |
| 2018-06-20 | Remove AngleBracketedArgs impl | varkor | -22/+0 | |
| 2018-06-20 | Remove methods from ast::GenericParam and ast::Generics | varkor | -39/+0 | |
| 2018-06-20 | Refactor ast::GenericParam as a struct | varkor | -25/+22 | |
| 2018-06-20 | Rename ast::GenericParam and ast::GenericArg | varkor | -14/+14 | |
| It's so confusing to have everything having the same name, at least while refactoring. | ||||
| 2018-06-20 | Make method and variable names more consistent | varkor | -4/+4 | |
| 2018-06-20 | Rename "parameter" to "arg" | varkor | -17/+17 | |
| 2018-06-20 | Rename PathParameter(s) to GenericArg(s) | varkor | -14/+14 | |
| 2018-06-20 | Rename *Parameter to *Param | varkor | -4/+4 | |
| 2018-06-20 | Consolidate PathParameters and AngleBracketedParameterData | varkor | -4/+30 | |
| 2018-06-14 | create multiple HIR items for a use statement | QuietMisdreavus | -3/+6 | |
| 2018-05-26 | Auto merge of #51052 - nikomatsakis:obsolete-arrow, r=petrochenkov | bors | -0/+3 | |
| restore emplacement syntax (obsolete) Fix https://github.com/rust-lang/rust/issues/50832 r? @petrochenkov | ||||
| 2018-05-24 | restore emplacement syntax (obsolete) | Niko Matsakis | -0/+3 | |
| 2018-05-24 | Replace `ScalarKind` with `Primitive` | Oliver Schneider | -35/+2 | |
| 2018-05-24 | Auto merge of #50930 - toidiu:ak-ordOutlivesPredicate, r=nikomatsakis | bors | -1/+1 | |
| implement Ord for OutlivesPredicate and other types It became necessary while implementing https://github.com/rust-lang/rust/pull/50070 to have `Ord` implemented for `OutlivesPredicate`. This PR implements `Ord` for `OutlivesPredicate` as well as other types needed for the implementation. | ||||
