| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-12-01 | resolve: Support aliasing local crate root in extern prelude | Vadim Petrochenkov | -1/+5 | |
| 2018-12-01 | Rollup merge of #56336 - nnethercote:clean-up-pp, r=nikomatsakis | kennytm | -1/+1 | |
| Clean up and streamline the pretty-printer Some minor improvements. | ||||
| 2018-11-29 | Rollup merge of #56330 - estebank:cleanup-span, r=zackmdavis | Guillaume Gomez | -2/+2 | |
| Clean up span in non-trailing `..` suggestion | ||||
| 2018-11-29 | Rollup merge of #56255 - jasonl:update-old-documents, r=michaelwoerister | Guillaume Gomez | -3/+2 | |
| Update outdated code comments in StringReader For the detection of newlines in the lexer, this is now done in `analyze_source_file.rs`. | ||||
| 2018-11-29 | Rollup merge of #56220 - estebank:suggest-lifetime-move, r=nikomatsakis | Guillaume Gomez | -8/+45 | |
| Suggest appropriate place for lifetime when declared after type arguments | ||||
| 2018-11-29 | Use `Cow` in `Token::String`. | Nicholas Nethercote | -1/+1 | |
| `Printer::word` takes a `&str` and converts it into a `String`, which causes an allocation. But that allocation is rarely necessary, because `&str` is almost always a `&'static str` or a `String` that won't be used again. This commit changes `Token::String` so it holds a `Cow<'static, str>` instead of a `String`, which avoids a lot of allocations. | ||||
| 2018-11-28 | Clean up span in non-trailing `..` suggestion | Esteban Küber | -2/+2 | |
| 2018-11-26 | Specify suggestion applicability | Esteban Küber | -1/+2 | |
| 2018-11-27 | resolve: Implement edition hygiene for imports and absolute paths | Vadim Petrochenkov | -16/+13 | |
| Use per-span hygiene in a few other places in resolve Prefer `rust_2015`/`rust_2018` helpers to comparing editions | ||||
| 2018-11-26 | Update outdated code comments in StringReader | Jason Langenauer | -3/+2 | |
| 2018-11-26 | Emit one diagnostic for multiple misplaced lifetimes | Esteban Küber | -12/+19 | |
| 2018-11-25 | Move lifetimes before the *first* type argument | Esteban Küber | -1/+3 | |
| 2018-11-25 | Suggest appropriate place for lifetime when declared after type arguments | Esteban Küber | -8/+35 | |
| 2018-11-22 | Rollup merge of #56002 - Axary:master, r=estebank | Guillaume Gomez | -2/+13 | |
| fix #55972: Erroneous self arguments on bare functions emit subpar compilation error #55972 r? @estebank | ||||
| 2018-11-20 | improve error note | Axary | -1/+1 | |
| 2018-11-19 | Auto merge of #55971 - SergioBenitez:skip-non-semantic, r=alexcrichton | bors | -2/+3 | |
| Ignore non-semantic tokens for 'probably_eq' streams. Improves the situation in #43081 by skipping typically non-semantic tokens when checking for 'probably_eq'. r? @alexcrichton | ||||
| 2018-11-16 | Ignore non-semantic tokens for 'probably_eq' streams. | Sergio Benitez | -2/+3 | |
| 2018-11-16 | fix tidy (remove whitespace) | Axary | -1/+1 | |
| 2018-11-16 | improve error when self is used as not the first argument | Axary | -8/+9 | |
| 2018-11-16 | add a note to the error message | Axary | -1/+4 | |
| 2018-11-16 | eat CloseDelim | Axary | -2/+9 | |
| 2018-11-14 | Clean up some non-mod-rs stuff. | Eric Huss | -15/+1 | |
| 2018-11-12 | Change `Lit::short_name` to `Lit::literal_name`. | Nicholas Nethercote | -8/+8 | |
| This avoids a moderately hot allocation in `parse_lit_token`. | ||||
| 2018-11-08 | Rollup merge of #55777 - nnethercote:less-P-in-ast, r=petrochenkov | Mark Rousskov | -1/+1 | |
| Use `Lit` rather than `P<Lit>` in `ast::ExprKind`. Because it results in fewer allocations and small speedups on some benchmarks. | ||||
| 2018-11-08 | Use `Lit` rather than `P<Lit>` in `ast::ExprKind`. | Nicholas Nethercote | -1/+1 | |
| Because it results in fewer allocations and small speedups on some benchmarks. | ||||
| 2018-11-07 | Rollup merge of #55734 - teresy:shorthand-fields, r=davidtwco | kennytm | -1/+1 | |
| refactor: use shorthand fields refactor: use shorthand for single fields everywhere (excluding tests). | ||||
| 2018-11-06 | refactor: use shorthand fields | teresy | -1/+1 | |
| 2018-11-05 | Auto merge of #55451 - estebank:arg-doc, r=pnkfelix | bors | -16/+61 | |
| Custom diagnostic when trying to doc comment argument When writing ``` pub fn f( /// Comment id: u8, ) {} ``` Produce a targeted diagnostic ``` error: documentation comments cannot be applied to method arguments --> $DIR/fn-arg-doc-comment.rs:2:5 | LL | /// Comment | ^^^^^^^^^^^ doc comments are not allowed here ``` Fix #54801. | ||||
| 2018-11-04 | Auto merge of #55455 - estebank:expected-descr, r=michaelwoerister | bors | -24/+26 | |
| Use token description in "expected/found" parse messages Fix #54309. | ||||
| 2018-11-04 | Auto merge of #54861 - rep-nop:find_main_in_doctest, r=estebank | bors | -9/+64 | |
| rustdoc: Replaces fn main search and extern crate search with proper parsing during doctests. Fixes #21299. Fixes #33731. Let me know if there's any additional changes you'd like made! | ||||
| 2018-11-03 | Extended elaboration for trait aliases to include arbitrary bounds. | Alexander Regueiro | -5/+5 | |
| 2018-11-03 | Added support for trait aliases as object types. | Alexander Regueiro | -1/+1 | |
| 2018-11-02 | implement existing parser fns in terms of fallible fns | QuietMisdreavus | -14/+4 | |
| 2018-11-01 | buffer errors from initial tokenization when parsing | QuietMisdreavus | -3/+68 | |
| 2018-10-29 | Rename other occs of (Code/File)Map to Source(Map/File) #51574 | David Lavati | -58/+58 | |
| 2018-10-29 | Fix regression | Esteban Küber | -1/+1 | |
| 2018-10-29 | Rollup merge of #55384 - nnethercote:better-integer_lit-float_lit, ↵ | Pietro Albini | -4/+19 | |
| r=michaelwoerister Avoid unnecessary allocations in `float_lit` and `integer_lit`. This commit avoids an allocation when parsing any float and integer literals that don't involved underscores. This reduces the number of allocations done for the `tuple-stress` benchmark by 10%, reducing its instruction count by just under 1%. | ||||
| 2018-10-28 | Use token description in "expected/found" parse messages | Esteban Küber | -23/+25 | |
| 2018-10-28 | Provide specific label for patern parsing error | Esteban Küber | -18/+24 | |
| 2018-10-28 | Point at `match` when a parse failure ocurrs inside of it | Esteban Küber | -1/+5 | |
| 2018-10-28 | Produce targeted diagnostic when using doc comments on fn args | Esteban Küber | -1/+36 | |
| Before parsing argument names and types, try to consume an incorrectly included doc comment or attribute in order to recover and continue parsing the rest of the fn definition. | ||||
| 2018-10-28 | Auto merge of #55192 - cramertj:nested-mod, r=petrochenkov | bors | -0/+11 | |
| Fix ordering of nested modules in non-mod.rs mods Flatten relative offset into directory path before adding inline (mod x { ... }) module names to the current directory path. Fix #55094 | ||||
| 2018-10-26 | Avoid unnecessary allocations in `float_lit` and `integer_lit`. | Nicholas Nethercote | -4/+19 | |
| This commit avoids an allocation when parsing any float and integer literals that don't involved underscores. This reduces the number of allocations done for the `tuple-stress` benchmark by 10%, reducing its instruction count by just under 1%. | ||||
| 2018-10-26 | rebasing and reviewer changes | Nick Cameron | -1/+1 | |
| Primarily refactoring `(Ident, Option<NodeId>)` to `Segment` | ||||
| 2018-10-26 | Give each PathSegment a NodeId | Nick Cameron | -2/+2 | |
| 2018-10-21 | Fix a few tests with target-specific output | Vadim Petrochenkov | -1/+1 | |
| Enable one fully ignored test | ||||
| 2018-10-19 | Prefer unwrap_or_else to unwrap_or in case of function calls/allocations | ljedrz | -1/+1 | |
| 2018-10-18 | Fix ordering of nested modules in non-mod.rs mods | Taylor Cramer | -0/+11 | |
| Flatten relative offset into directory path before adding inline (mod x { ... }) module names to the current directory path. Fix #55094 | ||||
| 2018-10-14 | Support underscore as constant name | Donato Sciarra | -1/+7 | |
| Issue: 54912 | ||||
| 2018-10-12 | Rollup merge of #54967 - holmgr:master, r=estebank | kennytm | -0/+5 | |
| Remove incorrect span for second label inner macro invocation A fix for issue #54841 | ||||
