| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-11-30 | proc_macro: move the rustc server to syntax_ext. | Eduard-Mihai Burtescu | -1/+1 | |
| 2018-11-30 | proc_macro: remove the __internal module. | Eduard-Mihai Burtescu | -7/+5 | |
| 2018-11-30 | proc_macro: introduce a "bridge" between clients (proc macros) and servers ↵ | Eduard-Mihai Burtescu | -28/+37 | |
| (compiler front-ends). | ||||
| 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-26 | Auto merge of #54929 - csmoe:cfg_lint, r=petrochenkov | bors | -5/+5 | |
| Suggest to remove prefix `b` in cfg attribute lint string Closes #54926 r? @estebank | ||||
| 2018-10-26 | Remove redundant clone | Shotaro Yamada | -2/+2 | |
| 2018-10-20 | handle errors based on parse_sess | csmoe | -5/+5 | |
| 2018-08-19 | mv (mod) codemap source_map | Donato Sciarra | -4/+4 | |
| 2018-08-16 | syntax_ext: remove leftover span_err_if_not_stage0 macro. | Eduard-Mihai Burtescu | -13/+2 | |
| 2018-08-13 | Move SmallVec and ThinVec out of libsyntax | ljedrz | -2/+5 | |
| 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 | -14/+12 | |
| 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 | -21/+21 | |
| 2018-06-23 | hygiene: Merge `NameAndSpan` into `ExpnInfo` | Vadim Petrochenkov | -2/+2 | |
| 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 | -24/+24 | |
| 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 | -2/+8 | |
| 2018-06-20 | Refactor ast::GenericParam as a struct | varkor | -31/+29 | |
| 2018-06-20 | Refactor hir::GenericParam as a struct | varkor | -3/+7 | |
| 2018-06-20 | Rename ast::GenericParam and ast::GenericArg | varkor | -25/+25 | |
| It's so confusing to have everything having the same name, at least while refactoring. | ||||
| 2018-06-20 | Rename "parameter" to "arg" | varkor | -12/+12 | |
| 2018-06-20 | Rename *Parameter to *Param | varkor | -12/+12 | |
| 2018-06-20 | Consolidate PathParameters and AngleBracketedParameterData | varkor | -18/+32 | |
| 2018-06-18 | Add ability to apply custom derive to union types. | Steve Pentland | -3/+4 | |
| The Union item type has been included in the allowed types for a custom derive. Closes #50223 | ||||
| 2018-05-26 | Add `Ident::as_str` helper | Vadim Petrochenkov | -1/+1 | |
| 2018-05-23 | Rollup merge of #50846 - GuillaumeGomez:add-e0665, r=frewsxcv | kennytm | -2/+13 | |
| Add E0665 | ||||
| 2018-05-21 | Remove rustc_serialize_exclude_null | Manish Goregaokar | -12/+2 | |
| 2018-05-21 | Add E0665 | Guillaume Gomez | -2/+13 | |
| 2018-05-15 | Auto merge of #50011 - varkor:partialord-opt-ii, r=Manishearth | bors | -66/+101 | |
| Ensure derive(PartialOrd) is no longer accidentally exponential Previously, two comparison operations would be generated for each field, each of which could delegate to another derived PartialOrd. Now we use ordering and optional chaining to ensure each pair of fields is only compared once, addressing https://github.com/rust-lang/rust/issues/49650#issuecomment-379467572. Closes #49505. r? @Manishearth (sorry for changing it again so soon!) Close #50755 | ||||
| 2018-05-02 | Remove Option from the return type of Attribute::name() | Seiichi Uchida | -6/+4 | |
| 2018-04-26 | rustc_target: move in syntax::abi and flip dependency. | Irina Popa | -1/+1 | |
| 2018-04-25 | Update comments to UFCS style | varkor | -11/+24 | |
| 2018-04-25 | Use UFCS | varkor | -11/+20 | |
| 2018-04-25 | Fix handling of None | varkor | -11/+11 | |
| 2018-04-25 | Ensure derive(PartialOrd) is no longer accidentally exponential | varkor | -70/+83 | |
| Previously, two comparison operations would be generated for each field, each of which could delegate to another derived PartialOrd. Now we use ordering and optional chaining to ensure each pair of fields is only compared once. | ||||
| 2018-04-25 | Auto merge of #49986 - zofrex:better-derived-argument-names, r=Manishearth | bors | -32/+32 | |
| 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 | -13/+13 | |
| 2018-04-19 | Gensym remaining identifiers | James Sanderson | -5/+5 | |
