about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/item.rs
AgeCommit message (Expand)AuthorLines
2021-12-08Rollup merge of #91337 - FabianWolff:issue-91227-misspelled-macro, r=nagisaMatthias Krüger-4/+25
2021-12-06Expect extern fn with no body when parsingMichael Howell-1/+1
2021-12-06Add better comments for FnParseModeMichael Howell-2/+49
2021-12-04Do not add `;` to expected tokens list when it's wrongMichael Howell-22/+51
2021-11-28Add a suggestion if `macro_rules` is misspelledFabian Wolff-4/+25
2021-11-28expand: Turn `ast::Crate` into a first class expansion targetVadim Petrochenkov-1/+1
2021-11-27Improve `unsafe` diagnosticthreadexception-3/+25
2021-11-24Account for incorrect `impl Foo<const N: ty> {}` syntaxEsteban Küber-1/+1
2021-11-07ast: Fix naming conventions in AST structuresVadim Petrochenkov-14/+15
2021-10-22Rollup merge of #89257 - aDotInTheVoid:macro-error-2, r=estebankYuki Okushi-10/+40
2021-10-17rustc_span: `Ident::invalid` -> `Ident::empty`Vadim Petrochenkov-4/+4
2021-10-01Give better error for `macro_rules name`Nixon Enraght-Moony-10/+40
2021-09-24Give better error for `macro_rules! name!`Nixon Enraght-Moony-0/+14
2021-09-15Rollup merge of #88775 - pnkfelix:revert-anon-union-parsing, r=davidtwcoManish Goregaokar-22/+16
2021-09-12Improve error message for missing trait in trait implFabian Wolff-1/+14
2021-09-09Re-add 71a7f8f1884b2c83eeb4a545eef16df1f2ea6476 post-revert.Felix S. Klock II-1/+4
2021-09-09Revert "Implement Anonymous{Struct, Union} in the AST"Felix S. Klock II-22/+13
2021-09-01Compute proc_macros in resolutions.Camille GILLOT-2/+1
2021-08-18Remove box syntax from rustc_parseest31-7/+7
2021-08-08Auto merge of #87235 - poliorcetics:issue-87217-fn-quali-order, r=nagisabors-1/+34
2021-08-03Rollup merge of #87646 - JohnTitor:fix-parser-ice, r=oli-obkYuki Okushi-3/+1
2021-08-02Better message for invalid keyword placement in fnAlexis Bourget-1/+34
2021-07-31Fix a parser ICE on invalid `fn` bodyYuki Okushi-3/+1
2021-07-25clippy::filter_map_identityMatthias Krüger-2/+1
2021-07-07Fix ICE when misplaced visibility cannot be properly parsedRyan Levick-1/+7
2021-06-17Use `AttrVec` for `Arm`, `FieldDef`, and `Variant`Yuki Okushi-3/+3
2021-05-30Don't drop `PResult` without handling the errorLeSeulArtichaut-1/+4
2021-05-16Implement Anonymous{Struct, Union} in the ASTjedel1043-13/+19
2021-05-11Recover from invalid `struct` item syntaxEsteban Küber-1/+45
2021-05-08Rename `Parser::span_fatal_err` -> `Parser::span_err`Joshua Nelson-1/+1
2021-05-07Also take unions and enums into accountLeSeulArtichaut-14/+19
2021-05-07Improve diagnostics for functions in `struct` definitionsLeSeulArtichaut-1/+24
2021-04-23Revert "Rollup merge of #82296 - spastorino:pubrules, r=nikomatsakis"Santiago Pastorino-1/+9
2021-04-19fix few typosklensy-1/+1
2021-04-11Implement token-based handling of attributes during expansionAaron Hill-25/+29
2021-03-18Auto merge of #76447 - pickfire:async-pub, r=estebankbors-7/+37
2021-03-17Add pub as optional check_front_matterIvan Tham-6/+15
2021-03-17Detect pub fn attr wrong order like `async pub`Ivan Tham-3/+24
2021-03-16ast/hir: Rename field-related structuresVadim Petrochenkov-11/+9
2021-03-05use pat<no_top_alt> for patterns in let bindingsmark-2/+3
2021-02-25Rollup merge of #82321 - bugadani:ast3, r=varkorDylan DPC-1/+1
2021-02-23Rollup merge of #82296 - spastorino:pubrules, r=nikomatsakisDylan DPC-9/+1
2021-02-21parser: remove unneccessary wrapping of return value in parse_extern()Matthias Krüger-1/+1
2021-02-20Remove some P-sDániel Buga-1/+1
2021-02-19Support `pub` on `macro_rules`Vadim Petrochenkov-9/+1
2021-02-18ast: Keep expansion status for out-of-line module itemsVadim Petrochenkov-5/+7
2021-02-18ast: Stop using `Mod` in `Crate`Vadim Petrochenkov-23/+8
2021-02-13Require passing an `AttrWrapper` to `collect_tokens_trailing_token`Aaron Hill-122/+154
2021-02-08parser: Fix panic in 'const impl' recoveryÖmer Sinan Ağacan-2/+12
2021-02-01Box the biggest ast::ItemKind variantsDániel Buga-9/+11