about summary refs log tree commit diff
path: root/compiler/rustc_parse
AgeCommit message (Expand)AuthorLines
2024-06-20StaticForeignItem and StaticItem are the sameMichael Goulet-1/+1
2024-06-20Properly gate `safe` keyword in pre-expansionMichael Goulet-0/+3
2024-06-20Rollup merge of #126717 - nnethercote:rustfmt-use-pre-cleanups, r=jieyouxuMatthias Krüger-0/+1
2024-06-20Add blank lines after module-level `//` comments.Nicholas Nethercote-0/+1
2024-06-20Introduce `can_begin_string_literal`.Nicholas Nethercote-2/+2
2024-06-20Inline `can_begin_literal_maybe_minus` call into two places.Nicholas Nethercote-1/+2
2024-06-19Allow naming expr_2021 in all editionsMichael Goulet-3/+2
2024-06-19Auto merge of #126678 - nnethercote:fix-duplicated-attrs-on-nt-expr, r=petroc...bors-111/+108
2024-06-19Change how `parse_expr_force_collect` works.Nicholas Nethercote-2/+5
2024-06-19Refactor `parse_expr_res`.Nicholas Nethercote-28/+33
2024-06-19Simplify `LhsExpr::Unparsed`.Nicholas Nethercote-10/+11
2024-06-19Move `parse_or_use_outer_attributes` out of `parse_expr_prefix_range`.Nicholas Nethercote-9/+19
2024-06-19Move `parse_or_use_outer_attributes` out of `parse_expr_prefix`.Nicholas Nethercote-5/+8
2024-06-19Inline and remove `parse_expr_assoc`.Nicholas Nethercote-10/+1
2024-06-19Refactor `LhsExpr`.Nicholas Nethercote-42/+38
2024-06-19Remove `From` impls for `LhsExpr`.Nicholas Nethercote-25/+10
2024-06-19Simplify `Parser::parse_expr_dot_or_call`.Nicholas Nethercote-4/+3
2024-06-19Expand another comment.Nicholas Nethercote-1/+5
2024-06-19Rollup merge of #124135 - petrochenkov:deleglob, r=fmease许杰友 Jieyou Xu (Joe)-6/+21
2024-06-19make this comment correctardi-3/+4
2024-06-19Improve conflict marker recoveryardi-13/+38
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-12/+9
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-30/+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