| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-01-11 | don't unwrap unexpected tokens in `format!` | Andy Russell | -4/+11 | |
| Fixes #57512. | ||||
| 2019-01-02 | make `panictry!` private to libsyntax | Andy Russell | -2/+123 | |
| This commit completely removes usage of the `panictry!` macro from outside libsyntax. The macro causes parse errors to be fatal, so using it in libsyntax_ext caused parse failures *within* a syntax extension to be fatal, which is probably not intended. Furthermore, this commit adds spans to diagnostics emitted by empty extensions if they were missing, à la #56491. | ||||
| 2018-12-29 | Auto merge of #57140 - estebank:str-err, r=varkor | bors | -18/+26 | |
| Tweaks to format string diagnostics Add label spans and fix incorrect spans. Fix #55155, fix #55350. | ||||
| 2018-12-27 | Fix rebase and more CI failures | Vadim Petrochenkov | -21/+21 | |
| 2018-12-27 | Address review comments and CI failures | Vadim Petrochenkov | -5/+3 | |
| 2018-12-27 | Do not abort compilation if expansion produces errors | Vadim Petrochenkov | -1/+7 | |
| Fix a number of uncovered deficiencies in diagnostics | ||||
| 2018-12-26 | Add span label to unused string formatting argument | Esteban Küber | -18/+26 | |
| Fix #55350. | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -825/+216 | |
| 2018-12-10 | Rollup merge of #56491 - euclio:assert-error, r=estebank | Guillaume Gomez | -0/+20 | |
| emit error with span for empty asserts Fixes #55547. | ||||
| 2018-12-04 | emit error with span for empty asserts | Andy Russell | -0/+20 | |
| Fixes #55547. | ||||
| 2018-12-04 | Update ui tests | Oliver Scherer | -1/+1 | |
| 2018-12-04 | Update tests | Oliver Scherer | -0/+1 | |
| 2018-11-27 | fix test | Mark Mansi | -2/+2 | |
| 2018-11-27 | fix test | Mark Mansi | -2/+2 | |
| 2018-11-27 | update tests | Mark Mansi | -189/+16 | |
| 2018-11-27 | Auto merge of #55402 - estebank:macro-eof-2, r=nikomatsakis | bors | -25/+28 | |
| Point at end of macro arm when encountering EOF Fix #52866. | ||||
| 2018-11-27 | resolve: Suggest `crate::` for resolving ambiguities when appropriate | Vadim Petrochenkov | -0/+42 | |
| More precise spans for ambiguities from macros | ||||
| 2018-11-23 | Reword EOF in macro arm message | Esteban Küber | -1/+1 | |
| 2018-11-23 | Keep label on moved spans and point at macro invocation on parse error | Esteban Küber | -1/+1 | |
| 2018-11-23 | Point at macro arm when it doesn't expand to an expression | Esteban Küber | -0/+3 | |
| 2018-11-23 | Reword incorrect macro invocation primary label | Esteban Küber | -21/+21 | |
| 2018-11-23 | Add label when replacing primary DUMMY_SP in macro expansion | Esteban Küber | -1/+1 | |
| 2018-11-23 | Point at end of macro arm when encountering EOF | Esteban Küber | -5/+5 | |
| Fix #52866 | ||||
| 2018-11-18 | resolve: Avoid sentence breaks in diagnostics | Vadim Petrochenkov | -16/+16 | |
| 2018-11-18 | resolve: Tweak some articles in ambiguity diagnostics | Vadim Petrochenkov | -1/+1 | |
| 2018-11-18 | resolve: Check resolution consistency for import paths and multi-segment ↵ | Vadim Petrochenkov | -4/+5 | |
| macro paths | ||||
| 2018-11-18 | resolve: Improve diagnostics for resolution ambiguities | Vadim Petrochenkov | -70/+56 | |
| 2018-11-07 | Removed `#[rustc_error]` from tests that are all `// compile-pass`. | Felix S. Klock II | -48/+13 | |
| I also added `// skip-codegen` to each one, to address potential concerns that this change would otherwise slow down our test suite spending time generating code for files that are really just meant to be checks of compiler diagnostics. (However, I will say: My preference is to not use `// skip-codegen` if one can avoid it. We can use all the testing of how we drive LLVM that we can get...) (Updated post rebase.) | ||||
| 2018-11-01 | enforce unused-must-use lint in macros | Alex Burka | -0/+31 | |
| 2018-10-28 | resolve: More precise spans for privacy errors | Vadim Petrochenkov | -2/+2 | |
| 2018-10-26 | Rollup merge of #55301 - estebank:macro-allowed, r=petrochenkov | kennytm | -96/+288 | |
| List allowed tokens after macro fragments Fix #34069. | ||||
| 2018-10-26 | Rollup merge of #55298 - estebank:macro-def, r=pnkfelix | kennytm | -21/+81 | |
| Point at macro definition when no rules expect token Fix #35150. | ||||
| 2018-10-26 | Rollup merge of #55292 - estebank:macro-eof, r=pnkfelix | kennytm | -15/+72 | |
| Macro diagnostics tweaks Fix #30128, fix #10951 by adding an appropriate span to the diagnostic. Fix #26288 by suggesting adding semicolon to macro call. | ||||
| 2018-10-25 | List allowed tokens after macro fragments | Esteban Küber | -96/+288 | |
| 2018-10-24 | Fix incorrect semicolon suggestion | Esteban Küber | -3/+1 | |
| 2018-10-24 | Point to macro def span instead of whole body | Esteban Küber | -146/+86 | |
| 2018-10-23 | Point at macro definition when no rules expect token | Esteban Küber | -48/+168 | |
| 2018-10-24 | Add `extern crate` items to extern prelude | Vadim Petrochenkov | -4/+0 | |
| 2018-10-23 | Modify invalid macro in expression context diagnostic | Esteban Küber | -15/+59 | |
| 2018-10-23 | Add macro call span when lacking any other span in diagnostic | Esteban Küber | -0/+15 | |
| 2018-10-12 | Add missing lifetime fragment specifier to error message. | Eric Huss | -1/+1 | |
| A very minor issue, `lifetime` was missing from the error list. I left `literal` in the list, even though it is unstable. It looks like it may stabilize soon anyways. | ||||
| 2018-10-10 | Remove incorrect span for second label inner macro invocation | holmgr | -3/+0 | |
| 2018-10-07 | Auto merge of #54813 - petrochenkov:uilocale, r=alexcrichton | bors | -28/+17 | |
| Fix two UI tests with locale-dependent output Closes https://github.com/rust-lang/rust/issues/54719 | ||||
| 2018-10-05 | make `Parser::parse_foreign_item()` return a foreign item or error | Austin Bonander | -0/+27 | |
| closes #54441 | ||||
| 2018-10-05 | Fix two UI tests with locale-dependent output | Vadim Petrochenkov | -28/+17 | |
| 2018-10-03 | resolve: Prefer `macro_rules` definitions to in-module macro definitions in ↵ | Vadim Petrochenkov | -0/+83 | |
| some cases | ||||
| 2018-09-22 | Stabilize crate_in_paths, extern_absolute_paths and extern_prelude on all ↵ | Eduard-Mihai Burtescu | -0/+8 | |
| editions. | ||||
| 2018-09-16 | Auto merge of #54157 - euclio:structured-suggestion, r=estebank | bors | -1/+1 | |
| use structured suggestion for "missing mut" label Fixes #54133 for both NLL and non-NLL. r? @estebank I'm not super happy with the existing wording here, since it's now a suggestion. I wonder if the message would work better as something like "help: make binding mutable: `mut foo`"? Also, are the `HELP` and `SUGGESTION` comments necessary? | ||||
| 2018-09-13 | resolve: Introduce two sub-namespaces in macro namespace | Vadim Petrochenkov | -21/+14 | |
| 2018-09-12 | use structured suggestion for "missing mut" label | Andy Russell | -1/+1 | |
| Fixes #54133. | ||||
