| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-11-18 | Rollup merge of #55827 - ljedrz:various_stashed, r=alexcrichton | Pietro Albini | -10/+8 | |
| A few tweaks to iterations/collecting - simplify and speed up `dot::GraphWalk::nodes` for `cfg::CFG` - `reserve` the capacity for `edges` in `DepGraph::query` - collect directly to a `HirVec` in `LoweringContext::lower_attrs` - fix overallocation in `OnDiskCache::serialize` - preallocate the `new_partitioning` vector in `merge_codegen_units` - simplify `impl FromHex for str` - improve the creation of `self_arg_names` in `impl MethodDef` | ||||
| 2018-11-13 | fix various typos in doc comments | Andy Russell | -1/+1 | |
| 2018-11-13 | A few tweaks to iterations/collecting | ljedrz | -10/+8 | |
| 2018-10-31 | syntax: improve a few allocations | ljedrz | -1/+1 | |
| 2018-10-20 | handle errors based on parse_sess | csmoe | -5/+5 | |
| 2018-08-19 | mv (mod) codemap source_map | Donato Sciarra | -3/+3 | |
| 2018-08-13 | Move SmallVec and ThinVec out of libsyntax | ljedrz | -1/+2 | |
| 2018-08-09 | [nll] libsyntax_ext: remove unnecessary mut annotation on variable | memoryruins | -1/+1 | |
| Pointed out by nll. It is correct that the mut annotation is not needed. | ||||
| 2018-07-29 | Replace push loops with collect() and extend() where possible | ljedrz | -9/+8 | |
| 2018-07-23 | libsyntax_ext: Prefer `Option::map` over `match` where applicable | Colin Wallace | -8/+4 | |
| 2018-07-14 | Remove most of `PartialEq` impls from AST and HIR structures | Vadim Petrochenkov | -11/+6 | |
| 2018-07-12 | Deny bare trait objects in src/libsyntax_ext | ljedrz | -4/+4 | |
| 2018-06-21 | Parse async fn header. | Without Boats | -5/+5 | |
| 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 | Fix additional comments | varkor | -1/+1 | |
| 2018-06-20 | Rename ty_param_bound to trait_bound | varkor | -5/+5 | |
| 2018-06-20 | Rename ParamBound(s) to GenericBound(s) | varkor | -2/+2 | |
| 2018-06-20 | Remove name from GenericParamKind::Lifetime | varkor | -4/+4 | |
| 2018-06-20 | Lift bounds into GenericParam | varkor | -12/+10 | |
| 2018-06-20 | Simply joint lifetime/type iteration | varkor | -57/+21 | |
| 2018-06-20 | Rename structures in ast | varkor | -18/+18 | |
| 2018-06-20 | Remove all traces of lifetimes() and types() methods | varkor | -23/+21 | |
| 2018-06-20 | Remove methods from ast::GenericParam and ast::Generics | varkor | -1/+4 | |
| 2018-06-20 | Refactor ast::GenericParam as a struct | varkor | -28/+23 | |
| 2018-06-20 | Refactor hir::GenericParam as a struct | varkor | -3/+7 | |
| 2018-06-20 | Rename ast::GenericParam and ast::GenericArg | varkor | -20/+20 | |
| It's so confusing to have everything having the same name, at least while refactoring. | ||||
| 2018-06-20 | Rename "parameter" to "arg" | varkor | -8/+8 | |
| 2018-06-20 | Rename *Parameter to *Param | varkor | -8/+8 | |
| 2018-06-20 | Consolidate PathParameters and AngleBracketedParameterData | varkor | -15/+28 | |
| 2018-05-02 | Remove Option from the return type of Attribute::name() | Seiichi Uchida | -1/+1 | |
| 2018-04-26 | rustc_target: move in syntax::abi and flip dependency. | Irina Popa | -1/+1 | |
| 2018-04-25 | Auto merge of #49986 - zofrex:better-derived-argument-names, r=Manishearth | bors | -12/+12 | |
| Provide better names for builtin deriving-generated attributes First attempt at fixing #49967 Not in love with any choices here, don't be shy if you aren't happy with anything :) I've tested that this produces nicer names in documentation, and that it no longer has issues conflicting with constants with the same name. (I guess we _could_ make a test for that... unsure if that would be valuable) In all cases I took the names from the methods as declared in the relevant trait. In some cases I had to prepend the names with _ otherwise there were errors about un-used variables. I'm uneasy with the inconsistency... do they all need to be like that? Is there a way to generate an alternate impl or use a different name (`_`?) in the cases where the arguments are not used? Lastly the gensym addition to Ident I implemented largely as suggested, but I want to point out it's a little circuitous (at least, as far as I understand it). `cx.ident_of(name)` is just `Ident::from_str`, so we create an Ident then another Ident from it. `Ident::with_empty_ctxt(Symbol::gensym(string))` may or may not be equivalent, I don't know if it's important to intern it _then_ gensym it. It seems like either we could use that, or if we do want a new method to make this convenient, it could be on Ident instead (`from_str_gensymed`?) | ||||
| 2018-04-19 | Fix some of the __names in the comments | James Sanderson | -7/+7 | |
| 2018-04-19 | Gensym remaining identifiers | James Sanderson | -2/+2 | |
| 2018-04-15 | Provide better names for builtin deriving-generated attributes | James Sanderson | -3/+3 | |
| 2018-04-15 | Auto merge of #49881 - varkor:partialord-opt, r=Manishearth | bors | -17/+99 | |
| Fix derive(PartialOrd) and optimise final field operation ```rust // Before (`lt` on 2-field struct) self.f1 < other.f1 || (!(other.f1 < self.f1) && (self.f2 < other.f2 || (!(other.f2 < self.f2) && (false) )) ) // After self.f1 < other.f1 || (!(other.f1 < self.f1) && self.f2 < other.f2 ) // Before (`le` on 2-field struct) self.f1 < other.f1 || (!(other.f1 < self.f1) && (self.f2 < other.f2 || (!(other.f2 < self.f2) && (true) )) ) // After self.f1 < other.f1 || (self.f1 == other.f1 && self.f2 <= other.f2 ) ``` (The big diff is mainly because of a past faulty rustfmt application that I corrected 😒) Fixes #49650 and fixes #49505. | ||||
| 2018-04-12 | Improve the comment for cs_fold1 | varkor | -2/+9 | |
| 2018-04-11 | Add cs_fold1 for better derives | varkor | -17/+92 | |
| 2018-04-11 | Implementation of `#[repr(packed(n))]` RFC 1399. | Cameron Hart | -3/+7 | |
| 2018-04-06 | Rename `ast::Variant_::name` into `ident` + Fix rebase | Vadim Petrochenkov | -4/+2 | |
| 2018-04-06 | Get rid of `SpannedIdent` | Vadim Petrochenkov | -6/+4 | |
| 2018-04-06 | Rename `PathSegment::identifier` to `ident` | Vadim Petrochenkov | -2/+2 | |
| 2018-04-06 | Use `Span` instead of `SyntaxContext` in `Ident` | Vadim Petrochenkov | -4/+3 | |
| 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-17 | Rename `Span::empty` to `Span::shrink_to_lo`, add `Span::shrink_to_hi` | Vadim Petrochenkov | -2/+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 | -2/+2 | |
| 2018-01-29 | rustc: replace "lvalue" terminology with "place" in the code. | Eduard-Mihai Burtescu | -2/+2 | |
| 2018-01-16 | Implement repr(transparent) | Robin Kruppe | -1/+3 | |
| 2018-01-07 | Rename ReprExtern to ReprC, and similarily rename a few other fields and ↵ | Robin Kruppe | -1/+1 | |
| locals that mentioned "extern repr" | ||||
| 2018-01-04 | rustc: use {U,I}size instead of {U,I}s shorthands. | Eduard-Mihai Burtescu | -2/+2 | |
