about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/item.rs
AgeCommit message (Expand)AuthorLines
2023-10-26Reserve `gen` keyword for `gen {}` blocks and `gen fn` in 2024 editionOli Scherer-2/+9
2023-10-13Format all the let chains in compilerMichael Goulet-8/+12
2023-10-03Gate against auto traits pre-expansionMichael Goulet-1/+6
2023-09-06Add explanatory note to 'expected item' errorGurinder Singh-4/+8
2023-08-30Rollup merge of #114704 - bvanjoi:fix-114636, r=compiler-errorsMatthias Krüger-13/+3
2023-08-24Parse unnamed fields and anonymous structs or unionsFrank King-3/+5
2023-08-21discard dummy field for macro invocation when parse structbohan-13/+3
2023-08-04Rollup merge of #113999 - Centri3:macro-arm-expand, r=wesleywiserMatthias Krüger-6/+35
2023-08-02Add test for enum with fieldsCatherine Flores-6/+1
2023-08-03Remove `MacDelimiter`.Nicholas Nethercote-2/+2
2023-07-28Parse generic const itemsLeón Orell Valerian Liehr-20/+128
2023-07-24Recover from some macrosCatherine Flores-11/+35
2023-07-24Specify macro is invalid in certain contextsCatherine-8/+18
2023-07-05Fix the issue of wrong diagnosis for extern pub fnyukang-1/+5
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-1/+1
2023-05-13improve error for `impl<..> impl Trait for Type`y21-4/+18
2023-05-09Rollup merge of #110694 - est31:builtin, r=petrochenkovDylan DPC-0/+8
2023-05-08make it more accurate by parsing tyyukang-9/+19
2023-05-08suggest struct when we get colon in fileds in enumyukang-0/+9
2023-05-05Add parsing for builtin # in expression and item contextest31-0/+8
2023-05-04Rollup merge of #110791 - compiler-errors:negative-bounds, r=oli-obkDylan DPC-7/+3
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-10/+10
2023-05-02Implement negative boundsMichael Goulet-7/+3
2023-05-01Rip it outNilstrieb-1/+1
2023-04-27Migrate trivially translatable `rustc_parse` diagnosticsclubby789-90/+29
2023-04-16use matches! macro in more placesMatthias Krüger-8/+6
2023-04-04Rename `ast::Static` to `ast::StaticItem` to match `ast::ConstItem`Oli Scherer-3/+3
2023-04-04box a bunch of large typesOli Scherer-6/+6
2023-04-04Split out ast::ItemKind::Const into its own structOli Scherer-5/+9
2023-04-04rust-analyzer guided tuple field to named fieldOli Scherer-2/+2
2023-04-04rust-analyzer guided enum variant structificationOli Scherer-2/+3
2023-03-20feat: implement error recovery in `expected_ident_found`Ezra Shaw-4/+4
2023-03-19refactor: refactor identifier parsing somewhatEzra Shaw-1/+1
2023-03-03Remove unclosed_delims from parseryukang-18/+6
2023-02-24Replace parse_[sth]_expr with parse_expr_[sth] function namesest31-2/+2
2023-02-21Use `ThinVec` in a few more AST types.Nicholas Nethercote-2/+2
2023-02-21Use `ThinVec` in various AST types.Nicholas Nethercote-7/+7
2023-02-21Use `ThinVec` in `ast::Impl` and related types.Nicholas Nethercote-3/+3
2023-02-19Reduce limit on `macro_rules!` diagnosticJacob Pratt-1/+1
2023-02-19Make public API, docs algorithm-agnosticJacob Pratt-2/+3
2023-02-06Migrate `rustc_parse` to derive diagnosticsclubby789-62/+62
2023-02-02Rename `rust_2015` => `is_rust_2015`Maybe Waffle-1/+1
2023-02-01Make "use latest edition" subdiagnostic translatableXiretza-3/+3
2023-02-01rustc_parse: revert conversion of "non-item in item list" diagnosticXiretza-18/+25
2023-02-01rustc_parse: migrate more to diagnostic structsXiretza-260/+153
2023-02-01Fix condition for "missing `struct`" diagnostic on tuple structsXiretza-1/+1
2023-02-01Use AddToDiagnostic for "use latest edition" helpXiretza-5/+10
2023-02-01rustc_parse: avoid creating unnecessary intermediate stringsXiretza-1/+2
2023-01-12Auto merge of #106537 - fmease:recover-where-clause-before-tuple-struct-body,...bors-3/+11
2023-01-11parser: recover from where clauses placed before tuple struct bodiesLeón Orell Valerian Liehr-3/+11