about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
AgeCommit message (Expand)AuthorLines
2024-07-05Remove some unnecessary integer conversions.Nicholas Nethercote-5/+3
2024-07-03Rollup merge of #127092 - compiler-errors:rtn-dots-redux, r=estebankMatthias Krüger-29/+6
2024-07-02Import `std::{iter,mem}`.Nicholas Nethercote-11/+10
2024-07-02Rename `make_token_stream`.Nicholas Nethercote-6/+6
2024-07-02Shrink parser positions from `usize` to `u32`.Nicholas Nethercote-15/+12
2024-07-02Move more things around in `collect_tokens_trailing_token`.Nicholas Nethercote-23/+18
2024-07-02Move things around in `collect_tokens_trailing_token`.Nicholas Nethercote-7/+7
2024-07-02Flip an if/else in `AttrTokenStream::to_attr_token_stream`.Nicholas Nethercote-3/+3
2024-07-02Fix comment.Nicholas Nethercote-3/+3
2024-07-02Fix a typo in a comment.Nicholas Nethercote-1/+1
2024-06-29Rollup merge of #127103 - compiler-errors:tighten-trait-bound-parsing, r=fmeaseMatthias Krüger-40/+62
2024-06-28Move binder and polarity parsing into parse_generic_ty_boundMichael Goulet-40/+62
2024-06-28Change RTN to use .. againMichael Goulet-29/+6
2024-06-27Tighten spans for async blocksMichael Goulet-2/+3
2024-06-27Rollup merge of #126571 - nnethercote:less-maybe_whole-expr-2, r=petrochenkovJacob Pratt-32/+41
2024-06-26Fix a span in `parse_ty_bare_fn`.Nicholas Nethercote-1/+1
2024-06-25Inline and remove `maybe_whole_expr!`.Nicholas Nethercote-32/+41
2024-06-24Rollup merge of #126682 - Zalathar:coverage-attr, r=lcnrMichael Goulet-3/+10
2024-06-24Rollup merge of #126882 - estebank:multiline-order, r=WaffleLapkinMatthias Krüger-10/+7
2024-06-24coverage: Tighten validation of `#[coverage(off)]` and `#[coverage(on)]`Zalathar-3/+10
2024-06-24Rollup merge of #126177 - carbotaniuman:unsafe_attr_errors, r=jieyouxuMatthias Krüger-6/+89
2024-06-23Add hard error and migration lint for unsafe attrscarbotaniuman-6/+89
2024-06-23Special case when a code line only has multiline span startsEsteban Küber-10/+7
2024-06-23Rework pattern and expression nonterminal kinds.Nicholas Nethercote-16/+12
2024-06-21Rollup merge of #126767 - compiler-errors:static-foreign-item, r=spastorinoMatthias Krüger-1/+1
2024-06-21Rollup merge of #126700 - compiler-errors:fragment, r=fmeaseMatthias Krüger-3/+2
2024-06-21Rollup merge of #126125 - dev-ardi:conflict-markers, r=estebankMatthias Krüger-16/+42
2024-06-21Auto merge of #126757 - compiler-errors:safe, r=spastorinobors-0/+3
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/+106
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/+17
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