about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
AgeCommit message (Expand)AuthorLines
2024-01-17Remove `box <expr>` recoveryclubby789-21/+7
2024-01-14Auto merge of #119341 - sjwang05:issue-58462, r=WaffleLapkinbors-4/+43
2024-01-12Suggest quoting unquoted idents in attrssjwang05-4/+43
2024-01-12Delegation implementation: step 1Bryanskiy-0/+36
2024-01-12Detect `NulInCStr` error earlier.Nicholas Nethercote-0/+8
2024-01-11Stop using `DiagnosticBuilder::buffer` in the parser.Nicholas Nethercote-17/+17
2024-01-11Fix lifetimes in `StringReader`.Nicholas Nethercote-23/+27
2024-01-11Use `struct_fatal` in `new_parser_from_file`.Nicholas Nethercote-5/+4
2024-01-11Inline and remove three functions.Nicholas Nethercote-39/+14
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-33/+38
2024-01-10Rename `{create,emit}_warning` as `{create,emit}_warn`.Nicholas Nethercote-3/+3
2024-01-10Rename `struct_span_err!` as `struct_span_code_err!`.Nicholas Nethercote-2/+2
2024-01-08Emit suggestion when trying to write exclusive ranges as `..<`sjwang05-7/+28
2024-01-08Remove `DiagnosticBuilder::delay_as_bug_without_consuming`.Nicholas Nethercote-7/+8
2024-01-08Remove a fourth `DiagnosticBuilder::emit_without_consuming` call.Nicholas Nethercote-31/+21
2024-01-08Remove a third `DiagnosticBuilder::emit_without_consuming` call.Nicholas Nethercote-1/+0
2024-01-08Remove a second `DiagnosticBuilder::emit_without_consuming` call.Nicholas Nethercote-39/+30
2024-01-08Remove a `DiagnosticBuilder::emit_without_consuming` call.Nicholas Nethercote-4/+7
2024-01-08Remove all eight `DiagnosticBuilder::*_with_code` methods.Nicholas Nethercote-41/+41
2024-01-08Use chaining for `DiagnosticBuilder` construction and `emit`.Nicholas Nethercote-22/+23
2024-01-08Use chaining in `DiagnosticBuilder` construction.Nicholas Nethercote-32/+30
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-64/+65
2024-01-06Rollup merge of #119624 - petrochenkov:dialoc4, r=compiler-errorsMatthias Krüger-4/+4
2024-01-05rustc_span: More consistent span combination operationsVadim Petrochenkov-3/+3
2024-01-05parser: Tiny refactoringVadim Petrochenkov-1/+1
2024-01-05Rollup merge of #119538 - nnethercote:cleanup-errors-5, r=compiler-errorsMichael Goulet-35/+23
2024-01-04Auto merge of #119569 - matthiaskrgr:rollup-4packja, r=matthiaskrgrbors-3/+74
2024-01-04Inline and remove `StringReader::struct_fatal_span_char`.Nicholas Nethercote-22/+11
2024-01-03Recover parentheses in range patternsLieselotte-3/+74
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-13/+12
2024-01-02Update after rebaseGeorge Bateman-5/+5
2024-01-02Make offset_of field parsing use metavariable which handles any spacingGeorge Bateman-43/+129
2023-12-30Update to bitflags 2 in the compilerNilstrieb-0/+1
2023-12-28Use filter instead of filter_map in Parser::expected_one_of_not_foundDaniPopes-18/+20
2023-12-28Rollup merge of #119380 - ShE3py:match-never-pat, r=petrochenkovMatthias Krüger-1/+7
2023-12-28Rollup merge of #119379 - ShE3py:parse-seq-doc, r=compiler-errorsMatthias Krüger-10/+28
2023-12-28Rollup merge of #119359 - DaniPopes:ident-or-err, r=compiler-errorsMatthias Krüger-12/+4
2023-12-28Don't expect bodyless arms if the pattern can never be a never patternLieselotte-1/+7
2023-12-28Update `parse_seq` docLieselotte-10/+28
2023-12-27Simplify Parser::ident_or_errorDaniPopes-12/+4
2023-12-27Auto merge of #119099 - fmease:always-const-trait-bounds, r=fee1-deadbors-28/+25
2023-12-27Auto merge of #117303 - sjwang05:issue-117245, r=estebankbors-0/+30
2023-12-27Introduce `const Trait` (always-const trait bounds)León Orell Valerian Liehr-28/+25
2023-12-26Suggest `=>` --> `>=` in conditionssjwang05-0/+30
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-8/+8
2023-12-24Remove `ParseSess` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-198/+205
2023-12-24Remove `Parser` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-60/+53
2023-12-23Rollup merge of #119231 - aDotInTheVoid:PatKind-struct-bool-docs, r=compiler-...Matthias Krüger-5/+6
2023-12-23bool->enum for ast::PatKind::Struct presence of `..`Alona Enraght-Moony-5/+6
2023-12-23Give `DiagnosticBuilder` a default type.Nicholas Nethercote-36/+24