summary refs log tree commit diff
path: root/compiler/rustc_parse/src
AgeCommit message (Expand)AuthorLines
2021-07-02Re-add support for parsing (and pretty-printing) inner-attributes within body...Felix S. Klock II-1/+2
2021-06-10Add support for using qualified paths with structs in expression and patternRyan Levick-28/+28
2021-06-07Rollup merge of #86010 - FabianWolff:ICE-parser, r=varkorGuillaume Gomez-38/+47
2021-06-06parser: Ensure that all nonterminals have tokens after parsingVadim Petrochenkov-30/+33
2021-06-05Fix handling of unmatched angle brackets in parserFabian Wolff-37/+47
2021-06-04Remove incorrect assertion in type parsing codeFabian Wolff-1/+0
2021-06-04Rollup merge of #85850 - bjorn3:less_feature_gates, r=jyn514Yuki Okushi-1/+0
2021-05-31Remove unused feature gatesbjorn3-1/+0
2021-05-30Don't drop `PResult` without handling the errorLeSeulArtichaut-1/+4
2021-05-24remove cfg(bootstrap)Pietro Albini-1/+0
2021-05-18Stabilize extended_key_value_attributesJoshua Nelson-13/+0
2021-05-16Implement Anonymous{Struct, Union} in the ASTjedel1043-13/+32
2021-05-12Rollup merge of #84793 - estebank:parse-struct-field-default, r=davidtwcoGuillaume Gomez-1/+45
2021-05-12Auto merge of #83813 - cbeuw:remap-std, r=michaelwoeristerbors-2/+4
2021-05-11Recover from invalid `struct` item syntaxEsteban Küber-1/+45
2021-05-10Auto merge of #85104 - hi-rustin:rustin-patch-typo, r=jonas-schievinkbors-1/+1
2021-05-09Fix typohi-rustin-1/+1
2021-05-08Make `Diagnostic::span_fatal` unconditionally raise an errorJoshua Nelson-9/+5
2021-05-08Remove some unnecessary uses of `struct_span_fatal`Joshua Nelson-36/+20
2021-05-08Rename `Parser::span_fatal_err` -> `Parser::span_err`Joshua Nelson-8/+4
2021-05-08Rollup merge of #76808 - LeSeulArtichaut:diagnose-functions-struct, r=jackh726Dylan DPC-30/+58
2021-05-07Also take unions and enums into accountLeSeulArtichaut-14/+19
2021-05-07Improve diagnostics for functions in `struct` definitionsLeSeulArtichaut-19/+42
2021-05-07Rollup merge of #84896 - estebank:issue-84772, r=jackh726Dylan DPC-3/+36
2021-05-05Use local and remapped paths where appropriateAndy Wang-2/+4
2021-05-03Handle incorrect placement of parentheses in trait bounds more gracefullyEsteban Küber-3/+36
2021-05-03parser: Remove support for inner attributes on non-block expressionsVadim Petrochenkov-10/+4
2021-04-28Auto merge of #83386 - mark-i-m:stabilize-pat2015, r=nikomatsakisbors-6/+8
2021-04-27remove pat2021mark-4/+4
2021-04-23Revert "Rollup merge of #82296 - spastorino:pubrules, r=nikomatsakis"Santiago Pastorino-1/+9
2021-04-19fix few typosklensy-1/+1
2021-04-15rename pat2015 to pat_parammark-4/+6
2021-04-14Auto merge of #84130 - Aaron1011:fix/none-delim-lookahead, r=petrochenkovbors-8/+31
2021-04-12Add fast path when None delimiters are not involvedAaron Hill-0/+19
2021-04-12don't bump in check_mistyped_turbofish_with_multiple_type_paramsb-naber-15/+17
2021-04-12Fix lookahead with None-delimited groupAaron Hill-9/+13
2021-04-11Implement token-based handling of attributes during expansionAaron Hill-258/+638
2021-04-10Auto merge of #84024 - estebank:unclosed-brace-use, r=jackh726bors-1/+3
2021-04-09Avoid `;` -> `,` recovery and unclosed `}` recovery from being too verboseEsteban Küber-1/+3
2021-04-08Rollup merge of #83980 - pierwill:fix-compiler-librustc-names, r=davidtwcoDylan DPC-1/+1
2021-04-08Fix outdated crate names in compiler docspierwill-1/+1
2021-04-06Use AnonConst for asm! constantsAmanieu d'Antras-1/+1
2021-03-26Always preserve `None`-delimited groups in a captured `TokenStream`Aaron Hill-15/+55
2021-03-25Avoid double-collection for expression nonterminalsAaron Hill-17/+17
2021-03-23Rollup merge of #83384 - mark-i-m:rename-pat2018, r=joshtriplettYuki Okushi-3/+3
2021-03-22rename :pat2018 -> :pat215mark-3/+3
2021-03-19stabilize or_patternsmark-65/+29
2021-03-18Auto merge of #76447 - pickfire:async-pub, r=estebankbors-9/+39
2021-03-17Auto merge of #83188 - petrochenkov:field, r=lcnrbors-22/+24
2021-03-17Add pub as optional check_front_matterIvan Tham-8/+17