about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/lib.rs
AgeCommit message (Expand)AuthorLines
2021-09-20Add some more tracingOli Scherer-0/+3
2021-09-10Keep a parent LocalDefId in SpanData.Camille GILLOT-1/+1
2021-09-08Bump stage0 compiler to 1.56Mark Rousskov-2/+0
2021-08-27Path remapping: Make behavior of diagnostics output dependent on presence of ...Michael Woerister-1/+1
2021-08-25Use if-let guards in the codebaseLéo Lanteri Thauvin-13/+12
2021-08-21Remove `Session.used_attrs` and move logic to `CheckAttrVisitor`Aaron Hill-1/+43
2021-08-18Remove box syntax from rustc_parseest31-1/+0
2021-06-04replaced feature-gate use with cfg_attrmarcusdunn-1/+1
2021-05-31Remove unused feature gatesbjorn3-1/+0
2021-05-24remove cfg(bootstrap)Pietro Albini-1/+0
2021-05-05Use local and remapped paths where appropriateAndy Wang-2/+4
2021-04-11Implement token-based handling of attributes during expansionAaron Hill-38/+37
2021-03-19stabilize or_patternsmark-1/+1
2021-03-14Bump recursion_limit in a few placesAaron Hill-0/+1
2021-02-27Combine HasAttrs and HasTokens into AstLikeAaron Hill-1/+1
2021-02-01Box the biggest ast::ItemKind variantsDániel Buga-0/+2
2021-01-22Refactor token collection to capture trailing token immediatelyAaron Hill-1/+1
2021-01-10Auto merge of #80789 - Aaron1011:fix/stmt-empty, r=petrochenkovbors-1/+10
2021-01-09Synthesize a `TokenStream` for `StmtKind::Empty`Aaron Hill-1/+10
2021-01-08rustc_ast_pretty: Remove `PrintState::insert_extra_parens`Vadim Petrochenkov-2/+1
2021-01-07rustc_parse: Better spans for synthesized token streamsVadim Petrochenkov-12/+8
2020-12-29Remove pretty-print/reparse hack, and add derive-specific hackAaron Hill-359/+31
2020-11-28Auto merge of #78296 - Aaron1011:fix/stmt-tokens, r=petrochenkovbors-14/+9
2020-11-26Properly handle attributes on statementsAaron Hill-14/+9
2020-11-26Auto merge of #79338 - Aaron1011:fix/token-reparse-cache, r=petrochenkovbors-3/+35
2020-11-23Cache pretty-print/retokenize result to avoid compile time blowupAaron Hill-3/+35
2020-11-22Stabilise `then`varkor-1/+0
2020-11-09Do not collect tokens for doc commentsVadim Petrochenkov-6/+1
2020-11-02Use reparsed `TokenStream` if we captured any inner attributesAaron Hill-5/+5
2020-10-31parser: Cleanup `LazyTokenStream` and avoid some clonesVadim Petrochenkov-11/+12
2020-10-30Fix even more clippy warningsJoshua Nelson-2/+2
2020-10-21Unconditionally capture tokens for attributes.Aaron Hill-47/+8
2020-10-19Rewrite `collect_tokens` implementations to use a flattened bufferAaron Hill-10/+13
2020-10-18Remove redundant 'static in the compilerest31-1/+1
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-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-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-21Don't use `zip` to compare iterators during pretty-print hackAaron Hill-8/+5
2020-09-17Remove redundant #![feature(...)] 's from compiler/est31-1/+0
2020-09-13Auto merge of #76585 - Aaron1011:ignore-vert-plus, r=petrochenkovbors-0/+6
2020-09-10Attach tokens to `ast::Stmt`Aaron Hill-0/+7
2020-09-10Attach `TokenStream` to `ast::Visibility`Aaron Hill-1/+1
2020-09-10Attach `TokenStream` to `ast::Path`Aaron Hill-0/+1
2020-09-10Attach tokens to `NtMeta` (`ast::AttrItem`)Aaron Hill-0/+1
2020-09-10Collect tokens when handling `:literal` matcherAaron Hill-1/+1