about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
AgeCommit message (Expand)AuthorLines
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
2020-12-01Gracefully handle mistyping -> as => in function return typemibac138-2/+2
2020-11-27Update error to reflect that integer literals can have float suffixesCamelid-2/+2
2020-11-14Add underscore expressions for destructuring assignmentsFabian Zaiser-0/+3
2020-11-11Implement destructuring assignment for structs and slicesFabian Zaiser-2/+8
2020-10-27Fix typo in commentsRobert Grosse-1/+1
2020-10-27Auto merge of #77502 - varkor:const-generics-suggest-enclosing-braces, r=petr...bors-1/+13
2020-10-26Suggest expressions that look like const generic arguments should be enclosed...varkor-1/+13
2020-10-24Auto merge of #77255 - Aaron1011:feature/collect-attr-tokens, r=petrochenkovbors-1/+1
2020-10-22Make inline const work for half open rangesSantiago Pastorino-1/+1
2020-10-22Rename parse_const_expr to parse_const_blockSantiago Pastorino-1/+1
2020-10-22Don't create an empty `LazyTokenStream`Aaron Hill-1/+1
2020-10-19Rewrite `collect_tokens` implementations to use a flattened bufferAaron Hill-9/+10
2020-10-16Parse inline const expressionsSantiago Pastorino-0/+2
2020-10-16Rollup merge of #77780 - calebcartwright:cast-expr-attr-span, r=oli-obkDylan DPC-7/+17
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-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-4/+12
2020-09-22Suggest async {} for async || {}Andy Weiss-4/+5
2020-08-30Use string literal directly when available in formatSasha-1/+1
2020-08-30mv compiler to compiler/mark-0/+2293