about summary refs log tree commit diff
path: root/compiler/rustc_parse
AgeCommit message (Expand)AuthorLines
2020-10-15Rollup merge of #77739 - est31:remove_unused_code, r=petrochenkov,varkorYuki Okushi-16/+0
2020-10-14Remove unused code from remaining compiler cratesest31-16/+0
2020-10-12rustc_parse: correct span on range expr with attrsCaleb Cartwright-1/+1
2020-10-12rustc_parse: correct span on cast expr with attrsCaleb Cartwright-6/+16
2020-10-11Remove unused importAaron Hill-1/+1
2020-10-11Add `relaxed_delim_match` parameterAaron Hill-16/+53
2020-10-11Allow skipping extra paren insertion during AST pretty-printingAaron Hill-7/+30
2020-10-11rustc_parse: More precise spans for `tuple.0.0`Vadim Petrochenkov-7/+33
2020-10-07Detect blocks that could be struct expr bodiesEsteban Küber-15/+125
2020-10-07Auto merge of #77595 - petrochenkov:asmident, r=oli-obkbors-1/+1
2020-10-06rustc_parse: Make `Parser::unexpected` public and use it in built-in macrosVadim Petrochenkov-1/+1
2020-10-05Fix span for unicode escape suggestion.Eric Huss-3/+2
2020-10-02Rollup merge of #77444 - estebank:pat-field-label, r=davidtwcoJonas Schievink-1/+2
2020-10-02Fix span for incorrect pattern field and add labelEsteban Küber-1/+2
2020-09-28Fix recursive nonterminal expansion during pretty-print/reparse checkAaron Hill-23/+34
2020-09-26pretty-print-reparse hack: Remove an impossible caseVadim Petrochenkov-4/+1
2020-09-26pretty-print-reparse hack: Rename some variables for clarityVadim Petrochenkov-16/+21
2020-09-23Rollup merge of #76994 - yuk1ty:fix-small-typo, r=estebankDylan DPC-1/+1
2020-09-22Suggest async {} for async || {}Andy Weiss-4/+5
2020-09-21Rollup merge of #76888 - matthiaskrgr:clippy_single_match_2, r=Dylan-DPCecstatic-morse-6/+3
2020-09-21Don't use `zip` to compare iterators during pretty-print hackAaron Hill-8/+5
2020-09-21fix typo in docs and commentsyuk1ty-1/+1
2020-09-20use if let instead of single match arm expressions to compact code and reduce...Matthias Krüger-6/+3
2020-09-17Remove redundant #![feature(...)] 's from compiler/est31-1/+0
2020-09-15improve diagnostics for lifetime after `&mut`SNCPlay42-1/+27
2020-09-15Auto merge of #76171 - estebank:turbofish-the-revenge, r=davidtwcobors-6/+66
2020-09-14Detect turbofish with multiple type params missing leading `::`Esteban Küber-6/+66
2020-09-13Auto merge of #76598 - ad-anssi:diagnostic_errors_fix, r=estebankbors-1/+5
2020-09-13Auto merge of #76585 - Aaron1011:ignore-vert-plus, r=petrochenkovbors-0/+6
2020-09-11repairing broken error message and rustfix application for the new testAurélien Deharbe-1/+5
2020-09-10Attach tokens to `ast::Stmt`Aaron Hill-5/+22
2020-09-10Attach `TokenStream` to `ast::Visibility`Aaron Hill-12/+40
2020-09-10Attach `TokenStream` to `ast::Path`Aaron Hill-6/+18
2020-09-10Attach tokens to `NtMeta` (`ast::AttrItem`)Aaron Hill-2/+10
2020-09-10Collect tokens when handling `:literal` matcherAaron Hill-2/+10
2020-09-10Attach `TokenStream` to `ast::Ty`Aaron Hill-6/+24
2020-09-10Attach `TokenStream` to `ast::Block`Aaron Hill-2/+10
2020-09-10Ignore `|` and `+` tokens during proc-macro pretty-print checkAaron Hill-0/+6
2020-09-10Rollup merge of #76563 - yokodake:patch-1, r=jonas-schievinkTyler Mandry-1/+1
2020-09-10Syntactically permit unsafety on modsDavid Tolnay-16/+51
2020-09-10small typo fix in rustc_parse docsNanami-1/+1
2020-09-10Revert "Rollup merge of #76285 - matklad:censor-spacing, r=petrochenkov"Tyler Mandry-6/+9
2020-09-03Optimize Cursor::look_aheadAleksey Kladov-5/+5
2020-09-03Rename IsJoint -> SpacingAleksey Kladov-25/+25
2020-09-03Condense StringReader's API to a single functionAleksey Kladov-33/+25
2020-09-03Move jointness censoring to proc_macroAleksey Kladov-4/+1
2020-09-02Auto merge of #76160 - scileo:format-recovery, r=petrochenkovbors-0/+4
2020-09-02Improve recovery on malformed format callSasha-0/+4
2020-09-02Auto merge of #76170 - matklad:notrivia, r=petrochenkovbors-91/+67
2020-09-01Rollup merge of #76132 - Aaron1011:mac-call-stmt, r=petrochenkovTyler Mandry-2/+2