about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
AgeCommit message (Expand)AuthorLines
2021-10-07some clippy::perf fixesMatthias Krüger-1/+1
2021-10-04Use `TokenKind::similar_tokens()`Fabian Wolff-1/+4
2021-10-03Try to recover from a `=>` -> `=` or `->` typo in a match armFabian Wolff-1/+15
2021-09-23Rollup merge of #89023 - Wardenfar:issue-85066, r=nagisaJubilee-0/+14
2021-09-22Rollup merge of #89046 - oli-obk:fix_oflo, r=estebankthe8472-0/+1
2021-09-20Add some more tracingOli Scherer-0/+1
2021-09-19Suggest replacing braces for brackets on array-esque invalid block exprHirochika Matsumoto-4/+54
2021-09-19Resolve issue 85066Theo-0/+14
2021-09-17Use `multipart_suggestion`Yuki Okushi-1/+1
2021-09-16Rollup merge of #88729 - estebank:struct-literal-using-parens, r=oli-obkManish Goregaokar-10/+91
2021-09-14review comment: move recovery code to its own functionEsteban Kuber-2/+19
2021-09-09Emit proper errors on missing closure bracesSasha Pourcelot-4/+26
2021-09-08Rollup merge of #88553 - theo-lw:issue-88276, r=estebankJack Huey-0/+20
2021-09-07Recover from `Foo(a: 1, b: 2)`Esteban Kuber-10/+74
2021-09-04Use verbose suggestions and only match if the + is seen before a numeric literalTheodore Luo Wang-4/+3
2021-09-01Undo debug statementsTheodore Luo Wang-11/+1
2021-09-01Update formattingTheodore Luo Wang-1/+1
2021-09-01Add checks for a block before a unary plus. Fix failing testsTheodore Luo Wang-8/+22
2021-08-31Apply formattingTheodore Luo Wang-1/+6
2021-08-31Improve error checking on unary plusTheodore Luo Wang-0/+12
2021-08-31Rollup merge of #88450 - notriddle:notriddle/maybe_whole_expr, r=cjgillotMara Bos-2/+2
2021-08-29Auto merge of #88262 - klensy:pprust-cow, r=nagisabors-1/+1
2021-08-28fix(rustc_parse): incorrect span information for macro path exprMichael Howell-1/+1
2021-08-28fix(rustc_parse): incorrect span information for macro block exprMichael Howell-1/+1
2021-08-25Convert some functions to return Cow<'static,str> instead of String to reduce...klensy-1/+1
2021-08-22Fix typos “a”→“an”Frank Steffahn-1/+1
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-1/+1
2021-07-31Require parentheses to avoid confusions around labeled break and loop express...Fabian Wolff-4/+51
2021-07-30Use multispan suggestions more oftenEsteban Küber-8/+6
2021-07-18Auto merge of #87071 - inquisitivecrystal:inclusive-range, r=estebankbors-4/+6
2021-07-14Suggest a path separator if a stray colon is found in a match armFabian Wolff-4/+4
2021-07-11Give a helpful error for the mistake `..==`Aris Merchant-4/+6
2021-06-22Auto merge of #85193 - pnkfelix:readd-support-for-inner-attrs-within-match, r...bors-1/+2
2021-06-17Use `AttrVec` for `Arm`, `FieldDef`, and `Variant`Yuki Okushi-2/+2
2021-06-10Add support for using qualified paths with structs in expression and patternRyan Levick-9/+19
2021-06-06parser: Ensure that all nonterminals have tokens after parsingVadim Petrochenkov-11/+1
2021-05-11Re-add support for parsing (and pretty-printing) inner-attributes within body...Felix S. Klock II-1/+2
2021-05-03parser: Remove support for inner attributes on non-block expressionsVadim Petrochenkov-10/+4
2021-04-11Implement token-based handling of attributes during expansionAaron Hill-7/+5
2021-04-06Use AnonConst for asm! constantsAmanieu d'Antras-1/+1
2021-03-25Avoid double-collection for expression nonterminalsAaron Hill-0/+15
2021-03-19stabilize or_patternsmark-4/+4
2021-03-16ast: Reduce size of `ExprKind` by boxing fields of `ExprKind::Struct`Vadim Petrochenkov-1/+5
2021-03-16ast/hir: Rename field-related structuresVadim Petrochenkov-6/+6
2021-03-03Detect match arm body without bracesEsteban Küber-0/+111
2021-02-21remove unneccessary wrapping of return value in mk_await_expr()Matthias Krüger-3/+3
2021-02-21rustc_parse: remove unneccessary wrapping of return value in fn mk_range() wh...Matthias Krüger-5/+5
2021-02-18Rollup merge of #82236 - matthiaskrgr:useless_conv, r=jyn514Dylan DPC-1/+1
2021-02-17avoid converting types into themselves (clippy::useless_conversion)Matthias Krüger-1/+1
2021-02-15Simplify pattern grammar by allowing nested leading vertmark-4/+4