about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
AgeCommit message (Expand)AuthorLines
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-12/+12
2024-06-18Prefer `dcx` methods over fields or fields' methodsOli Scherer-19/+18
2024-06-17Rework precise capturing syntaxMichael Goulet-17/+14
2024-06-17Make parse_seq_to_before_tokens take expected/nonexpected tokens, use in pars...Michael Goulet-35/+31
2024-06-14delegation: Implement glob delegationVadim Petrochenkov-6/+21
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-0/+2
2024-06-07Rollup merge of #126052 - nnethercote:rustc_parse-more-cleanups, r=spastorinoMatthias Krüger-72/+67
2024-06-07Rollup merge of #124214 - carbotaniuman:parse_unsafe_attrs, r=michaelwoeristerMatthias Krüger-3/+33
2024-06-07Auto merge of #125918 - oli-obk:const_block_ice, r=compiler-errorsbors-5/+8
2024-06-07Revert "Create const block DefIds in typeck instead of ast lowering"Oli Scherer-5/+8
2024-06-06Fix buildcarbotaniuman-4/+4
2024-06-06Parse unsafe attributescarbotaniuman-3/+33
2024-06-06Revert "Rollup merge of #124099 - voidc:disallow-ambiguous-expr-attrs, r=davi...Rémy Rakic-28/+13
2024-06-06Auto merge of #124482 - spastorino:unsafe-extern-blocks, r=oli-obkbors-7/+34
2024-06-06Inline and remove `check_builtin_attribute`.Nicholas Nethercote-19/+11
2024-06-06Specialize `assert_pred`.Nicholas Nethercote-12/+6
2024-06-06Reduce `pub` exposure.Nicholas Nethercote-42/+51
2024-06-05Make top-level `rustc_parse` functions fallible.Nicholas Nethercote-29/+47
2024-06-05Inline and remove `source_file_to_stream`.Nicholas Nethercote-9/+1
2024-06-05Reorder `source_str_to_stream` arguments.Nicholas Nethercote-4/+4
2024-06-05Inline and remove `parse_crate{,_attrs}_from_{file,source_str}`.Nicholas Nethercote-30/+1
2024-06-05Use `source_str_to_stream` in a test file.Nicholas Nethercote-6/+2
2024-06-05Rename `maybe_source_file_to_parser` as `maybe_new_parser_from_source_file`.Nicholas Nethercote-3/+3
2024-06-05Remove low-value comments.Nicholas Nethercote-7/+0
2024-06-05Improve `panictry_buffer!`.Nicholas Nethercote-15/+12
2024-06-05Remove `stream_to_parser`.Nicholas Nethercote-11/+3
2024-06-05Rename `maybe_file_to_stream` as `maybe_source_file_to_stream`.Nicholas Nethercote-3/+3
2024-06-05Inline and remove `error_malformed_cfg_attr_missing`.Nicholas Nethercote-10/+10
2024-06-05Don't use the word "parse" for lexing operations.Nicholas Nethercote-39/+36
2024-06-05`UNICODE_ARRAY` and `ASCII_ARRAY` fixes.Nicholas Nethercote-37/+38
2024-06-04Add safe/unsafe to static inside extern blocksSantiago Pastorino-5/+13
2024-06-04Handle safety keyword for extern block inner itemsSantiago Pastorino-2/+21
2024-06-02Avoid checking the edition as much as possibleVincenzo Palazzo-1/+1
2024-06-01Auto merge of #125863 - fmease:rej-CVarArgs-in-parse_ty_for_where_clause, r=c...bors-2/+3
2024-06-01Reject CVarArgs in parse_ty_for_where_clauseLeón Orell Valerian Liehr-2/+3
2024-05-31Rollup merge of #125635 - fmease:mv-type-binding-assoc-item-constraint, r=com...Matthias Krüger-18/+15
2024-05-30Rename HIR `TypeBinding` to `AssocItemConstraint` and related cleanupLeón Orell Valerian Liehr-18/+15
2024-05-28Create const block DefIds in typeck instead of ast loweringOli Scherer-8/+5
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_parse`.Nicholas Nethercote-3/+5
2024-05-22Rollup merge of #125049 - dtolnay:castbrace, r=compiler-errorsLeón Orell Valerian Liehr-11/+17
2024-05-21Auto merge of #124417 - Xiretza:translate-early-lints, r=fmeasebors-28/+15
2024-05-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-4/+4
2024-05-21Convert uses of BuiltinLintDiag::Normal to custom variantsXiretza-21/+11
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-4/+1
2024-05-20Fix parsing of erroneously placed semicolonsardi-3/+9
2024-05-18Auto merge of #125077 - spastorino:add-new-fnsafety-enum2, r=jackh726bors-30/+30
2024-05-18Rollup merge of #125117 - dev-ardi:improve-parser, r=wesleywiser,fmeaseMatthias Krüger-68/+74
2024-05-17Auto merge of #123865 - eholk:expr_2021, r=fmeasebors-2/+10
2024-05-17Rename Unsafe to SafetySantiago Pastorino-30/+30
2024-05-17Update compiler/rustc_parse/src/parser/nonterminal.rsEric Holk-2/+1