about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
AgeCommit message (Expand)AuthorLines
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-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
2021-02-13Address review commentsAaron Hill-15/+6
2021-02-13Require passing an `AttrWrapper` to `collect_tokens_trailing_token`Aaron Hill-160/+232
2021-01-21Parse loop labels missing a leading `'`Esteban Küber-6/+48
2021-01-20Force token collection to run when parsing nonterminalsAaron Hill-1/+5
2021-01-13Set tokens on AST node in `collect_tokens`Aaron Hill-16/+4
2021-01-12Auto merge of #76580 - rokob:iss76011, r=estebankbors-4/+5
2020-12-31Consistently call editions "Rust 20xx" in messages.Mara Bos-1/+1
2020-12-31Add edition 2021.Mara Bos-2/+3
2020-12-25Rollup merge of #80160 - diondokter:move_async_fix, r=davidtwcoDylan DPC-4/+14
2020-12-21Implemented a compiler diagnostic for move async mistakeDion Dokter-4/+14
2020-12-19implement edition-specific :pat behavior for 2015/18mark-4/+4
2020-12-03Gracefully handle confusing -> with : in function return typemibac138-2/+3