| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-01-20 | Use structured suggestion in stead of notes | Esteban Küber | -4/+4 | |
| 2019-01-21 | Rollup merge of #57784 - JohnTitor:improve-error-message, r=estebank | Mazdak Farrokhzad | -3/+3 | |
| Add span for bad doc comment Fixes #57382 r? @estebank | ||||
| 2019-01-21 | Rollup merge of #57768 - estebank:type-args-sugg, r=zackmdavis | Mazdak Farrokhzad | -6/+6 | |
| Continue parsing after parent type args and suggest using angle brackets ``` error[E0214]: parenthesized parameters may only be used with a trait --> $DIR/E0214.rs:2:15 | LL | let v: Vec(&str) = vec!["foo"]; | ^^^^^^ | | | only traits may use parentheses | help: use angle brackets instead: `<&str>` ``` r? @zackmdavis | ||||
| 2019-01-20 | Tweak field parse error recovery | Esteban Küber | -19/+9 | |
| 2019-01-21 | Fix tests | Yuki Okushi | -3/+3 | |
| 2019-01-20 | Recover from parse errors in struct literal fields | Esteban Küber | -7/+30 | |
| Attempt to recover from parse errors while parsing a struct's literal fields by skipping tokens until a comma or the closing brace is found. This allows errors in other fields to be reported. | ||||
| 2019-01-20 | Auto merge of #57651 - JohnTitor:give-char-type, r=estebank | bors | -43/+111 | |
| Implement new literal type `Err` Fixes #57384 I removed `return Ok`, otherwise, two errors occur. Any solutions? r? @estebank | ||||
| 2019-01-20 | Remove whitespace | Yuki Okushi | -5/+4 | |
| 2019-01-20 | Fix tests | Yuki Okushi | -96/+56 | |
| 2019-01-19 | Suggest usage of angle brackets | Esteban Küber | -6/+6 | |
| 2019-01-20 | [WIP] Fix tests | Yuki Okushi | -6/+91 | |
| 2019-01-18 | Fix tests | Yuki Okushi | -4/+50 | |
| 2019-01-16 | Auto merge of #57321 - petrochenkov:atokens, r=nikomatsakis | bors | -3/+11 | |
| Implement basic input validation for built-in attributes Correct top-level shape (`#[attr]` vs `#[attr(...)]` vs `#[attr = ...]`) is enforced for built-in attributes, built-in attributes must also fit into the "meta-item" syntax (aka the "classic attribute syntax"). For some subset of attributes (found by crater run), errors are lowered to deprecation warnings. NOTE: This PR previously included https://github.com/rust-lang/rust/pull/57367 as well. | ||||
| 2019-01-16 | Fix tests | Yuki Okushi | -24/+2 | |
| 2019-01-13 | Implement basic input validation for built-in attributes | Vadim Petrochenkov | -3/+11 | |
| 2019-01-12 | Suggest correct location for lifetime parameters in use | Esteban Küber | -31/+30 | |
| 2019-01-12 | Remove unrelated errors from parse stderr tests | Esteban Küber | -86/+28 | |
| 2019-01-11 | Add label for invalid literal suffix | Esteban Küber | -6/+6 | |
| 2019-01-11 | Tweak incorrect discriminator value variant error | Esteban Küber | -19/+40 | |
| 2019-01-11 | Small tweaks to parser errors | Esteban Küber | -17/+19 | |
| 2019-01-11 | Tweak type argument after assoc type error | Esteban Küber | -1/+1 | |
| 2019-01-11 | Continue evaluating after finding incorrect .. in pattern | Esteban Küber | -8/+32 | |
| 2019-01-11 | fix test | Esteban Küber | -0/+1 | |
| 2019-01-11 | Continue evaluating after incorrect float literal | Esteban Küber | -11/+49 | |
| 2019-01-11 | fix tests | Esteban Küber | -2/+3 | |
| 2019-01-11 | Continue evaluating after type argument in where clause | Esteban Küber | -2/+10 | |
| 2019-01-11 | Continue evaluating after missing `for` in `impl Trait for Foo` | Esteban Küber | -7/+28 | |
| 2019-01-11 | Continue evaluating after parsing incorrect binary literal | Esteban Küber | -5/+18 | |
| 2019-01-11 | Continue parsing after lifetime in incorrect location | Esteban Küber | -4/+48 | |
| 2019-01-06 | tests: Do not use `-Z parse-only`, continue compilation to test recovery | Vadim Petrochenkov | -853/+735 | |
| 2019-01-01 | Auto merge of #57209 - estebank:suggest-raw-ident, r=petrochenkov | bors | -0/+32 | |
| Suggest using raw identifiers in 2018 edition when using keywords | ||||
| 2018-12-31 | Do not use unicode character in diagnostic help | Esteban Küber | -3/+3 | |
| 2018-12-31 | Use structured suggestion for braceless unicode escape squence | Esteban Küber | -1/+12 | |
| 2018-12-31 | Address review comments | Esteban Küber | -0/+32 | |
| - Suggest raw ident escaping in all editions - Keep primary label in all cases | ||||
| 2018-12-27 | Fix rebase and more CI failures | Vadim Petrochenkov | -1/+1 | |
| 2018-12-27 | Do not abort compilation if expansion produces errors | Vadim Petrochenkov | -2/+9 | |
| Fix a number of uncovered deficiencies in diagnostics | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -3321/+431 | |
| 2018-12-17 | Do not point at delim spans for complete correct blocks | Esteban Küber | -0/+19 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -1/+1 | |
| 2018-12-06 | Auto merge of #56392 - petrochenkov:regensym, r=oli-obk | bors | -0/+11 | |
| Delay gensym creation for "underscore items" (`use foo as _`/`const _`) until name resolution So they cannot be cloned by macros. See https://github.com/rust-lang/rust/pull/56303 for the discussion. Mostly fix cross-crate use of underscore items by inverting the "gensyms are lost in metadata" bug as described in https://github.com/rust-lang/rust/pull/56303#issuecomment-442464695. Fix unused import warnings for single-segment imports (first commit) and `use crate_name as _` imports (as specified in https://github.com/rust-lang/rust/pull/56303#issuecomment-442274118). Prohibit accidentally implemented `static _: TYPE = EXPR;` (cc https://github.com/rust-lang/rust/pull/55983). Add more tests for `use foo as _` imports. | ||||
| 2018-12-04 | Update tests | Oliver Scherer | -2/+2 | |
| 2018-12-02 | Delay gensym creation for "underscore items" until name resolution | Vadim Petrochenkov | -0/+11 | |
| Prohibit `static _` Fis unused import warnings for `use foo as _` Add more tests for `use foo as _` | ||||
| 2018-11-29 | Rollup merge of #56220 - estebank:suggest-lifetime-move, r=nikomatsakis | Guillaume Gomez | -0/+20 | |
| Suggest appropriate place for lifetime when declared after type arguments | ||||
| 2018-11-25 | Suggest appropriate place for lifetime when declared after type arguments | Esteban Küber | -0/+20 | |
| 2018-11-23 | Reword incorrect macro invocation primary label | Esteban Küber | -2/+2 | |
| 2018-11-05 | Auto merge of #55451 - estebank:arg-doc, r=pnkfelix | bors | -11/+116 | |
| 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-10-28 | Use token description in "expected/found" parse messages | Esteban Küber | -14/+30 | |
| 2018-10-28 | Provide specific label for patern parsing error | Esteban Küber | -18/+11 | |
| 2018-10-28 | Point at `match` when a parse failure ocurrs inside of it | Esteban Küber | -3/+6 | |
| 2018-10-28 | Produce targeted diagnostic when using doc comments on fn args | Esteban Küber | -3/+112 | |
| 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. | ||||
