| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-11-16 | Ignore non-semantic tokens for 'probably_eq' streams. | Sergio Benitez | -6/+29 | |
| 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-15 | Fix stability hole with `static _` | Oliver Scherer | -0/+1 | |
| 2018-11-15 | Rollup merge of #55901 - euclio:speling, r=petrochenkov | Pietro Albini | -1/+1 | |
| fix various typos in doc comments | ||||
| 2018-11-15 | Rollup merge of #55750 - oli-obk:node_id_x, r=michaelwoerister | Pietro Albini | -38/+20 | |
| Make `NodeId` and `HirLocalId` `newtype_index` | ||||
| 2018-11-14 | Clean up some non-mod-rs stuff. | Eric Huss | -15/+1 | |
| 2018-11-13 | fix various typos in doc comments | Andy Russell | -1/+1 | |
| 2018-11-13 | Rollup merge of #55905 - nnethercote:short_name-to-literal_name, ↵ | kennytm | -8/+8 | |
| r=Mark-Simulacrum Change `Lit::short_name` to `Lit::literal_name`. This avoids a moderately hot allocation in `parse_lit_token`. r? @Mark-Simulacrum | ||||
| 2018-11-13 | Rollup merge of #55870 - waywardmonkeys:typo-fixes, r=wesleywiser | kennytm | -2/+2 | |
| Fix typos. | ||||
| 2018-11-13 | Rollup merge of #55805 - nnethercote:mv-static_assert, r=Mark-Simulacrum | kennytm | -0/+6 | |
| Move `static_assert!` into librustc_data_structures | ||||
| 2018-11-13 | Move two `static_assert!`s to better spots. | Nicholas Nethercote | -0/+1 | |
| And make them x86_64-only so they can use `==` instead of `<=`. | ||||
| 2018-11-13 | Add a static assertion about the size of `ast::Expr`. | Nicholas Nethercote | -0/+5 | |
| 2018-11-12 | Reintroduce the original debug formatting for NodeIds | Oliver Scherer | -0/+1 | |
| 2018-11-12 | Make `NodeId` a `newtype_index` to enable niche optimizations | Oliver Scherer | -38/+19 | |
| 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-12 | Make `MatcherPos::stack` a `SmallVec`. | Niko Matsakis | -34/+57 | |
| This avoids some allocations. | ||||
| 2018-11-11 | Fix typos. | Bruce Mitchener | -2/+2 | |
| 2018-11-08 | Rollup merge of #55777 - nnethercote:less-P-in-ast, r=petrochenkov | Mark Rousskov | -6/+6 | |
| 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 | -6/+6 | |
| 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 | -3/+3 | |
| refactor: use shorthand fields refactor: use shorthand for single fields everywhere (excluding tests). | ||||
| 2018-11-07 | Rollup merge of #55510 - bitshifter:repr-feature-gate-fix, r=petrochenkov | kennytm | -1/+6 | |
| Fix feature gate only being checked on first repr attr. Reported in https://github.com/rust-lang/rust/issues/33158#issuecomment-412185357. | ||||
| 2018-11-06 | refactor: use shorthand fields | teresy | -3/+3 | |
| 2018-11-06 | Rollup merge of #55601 - petrochenkov:featissue, r=pnkfelix | kennytm | -19/+8 | |
| Fix tracking issue numbers for some unstable features And also remove deprecated unstable `#[panic_implementation]` attribute that was superseded by stable `#[panic_handler]` and doesn't have an open tracking issue. | ||||
| 2018-11-05 | Auto merge of #55451 - estebank:arg-doc, r=pnkfelix | bors | -20/+65 | |
| 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/+81 | |
| 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 | -5/+5 | |
| 2018-11-03 | Added support for trait aliases as bounds. | Alexander Regueiro | -7/+10 | |
| 2018-11-02 | implement existing parser fns in terms of fallible fns | QuietMisdreavus | -14/+21 | |
| 2018-11-02 | Remove deprecated unstable `#[panic_implementation]` | Vadim Petrochenkov | -13/+2 | |
| It was superseded by `#[panic_handler]` | ||||
| 2018-11-02 | Fix tracking issue numbers for some unstable features | Vadim Petrochenkov | -6/+6 | |
| 2018-11-01 | buffer errors from initial tokenization when parsing | QuietMisdreavus | -3/+68 | |
| 2018-11-01 | Rollup merge of #55558 - nnethercote:tweak-MatcherPos-matches, r=petrochenkov | Pietro Albini | -6/+13 | |
| Tweak `MatcherPos::matches` These changes reduce instruction counts on `sentry-cli-check` incremental builds by up to 2%. | ||||
| 2018-11-01 | Rollup merge of #55542 - ljedrz:syntax_alloc_improvements, r=kennytm | Pietro Albini | -0/+2 | |
| syntax: improve a few allocations Add 2 `reserve`s and a `with_capacity` where the final vector size is known. | ||||
| 2018-11-01 | Use `SmallVec` for the inner vectors in `MatcherPos::matches`. | Nicholas Nethercote | -5/+7 | |
| This avoids some allocations. | ||||
| 2018-11-01 | Share empty `Vec`s more within `MatcherPos::matches`. | Nicholas Nethercote | -4/+9 | |
| `create_matches` creates a `Vec<Rc<Vec<NamedMatch>>>`. Even though all the inner `Vec`s are empty, each one is created separately. This commit changes `create_matches` so it instead creates one empty inner `Vec`, and shares it. The commit also changes `MatcherPos::matches` to a boxed slice, because its length doesn't change. | ||||
| 2018-10-31 | syntax: improve a few allocations | ljedrz | -0/+2 | |
| 2018-10-31 | use String::from() instead of format!() macro to construct Strings. | Matthias Krüger | -1/+1 | |
| 2018-10-31 | Fix feature gate only being checked on first repr attr. | Cameron Hart | -1/+6 | |
| 2018-10-29 | Rename other occs of (Code/File)Map to Source(Map/File) #51574 | David Lavati | -162/+163 | |
| 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 | -22/+28 | |
| 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. | ||||
