about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
AgeCommit message (Expand)AuthorLines
2024-08-17Auto merge of #128771 - carbotaniuman:stabilize_unsafe_attr, r=nnethercotebors-3/+1
2024-08-16Overhaul token collection.Nicholas Nethercote-275/+363
2024-08-16Add an assertion to `NodeRange::new`.Nicholas Nethercote-0/+1
2024-08-16Convert a bool to `Trailing`.Nicholas Nethercote-40/+52
2024-08-16Make visibilities minimal and consistent in `attr_wrapper.rs`.Nicholas Nethercote-6/+6
2024-08-16Remove size assertion on `AttrWrapper`.Nicholas Nethercote-1/+0
2024-08-14Use `impl PartialEq<TokenKind> for Token` more.Nicholas Nethercote-116/+111
2024-08-14Convert a `&mut self` to `&self`.Nicholas Nethercote-1/+1
2024-08-12Rollup merge of #128994 - nnethercote:fix-Parser-look_ahead-more, r=compiler-...Guillaume Gomez-4/+6
2024-08-12Rollup merge of #128978 - compiler-errors:assert-matches, r=jieyouxuGuillaume Gomez-2/+4
2024-08-12Fix bug in `Parser::look_ahead`.Nicholas Nethercote-4/+6
2024-08-11Use assert_matches around the compilerMichael Goulet-2/+4
2024-08-11Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errorsMatthias Krüger-10/+10
2024-08-09parser: ensure let stmt compound assignment removal suggestion respect codepo...许杰友 Jieyou Xu (Joe)-2/+6
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-10/+10
2024-08-07Stabilize `unsafe_attributes`carbotaniuman-3/+1
2024-08-03Rollup merge of #127921 - spastorino:stabilize-unsafe-extern-blocks, r=compil...Matthias Krüger-3/+0
2024-08-03Rollup merge of #128483 - nnethercote:still-more-cfg-cleanups, r=petrochenkovMatthias Krüger-152/+168
2024-08-01Rollup merge of #128496 - clubby789:box-syntax-multipart, r=compiler-errorsMatthias Krüger-4/+6
2024-08-01Fix removed `box_syntax` diagnostic if source isn't availableclubby789-4/+6
2024-08-01Auto merge of #127543 - carbotaniuman:more_unsafe_attr_verification, r=esteba...bors-4/+17
2024-08-01Distinguish the two kinds of token range.Nicholas Nethercote-77/+123
2024-08-01Move a comment to a better spot.Nicholas Nethercote-2/+1
2024-08-01Streamline attribute stitching on AST nodes.Nicholas Nethercote-15/+10
2024-07-31Rollup merge of #126697 - vincenzopalazzo:macros/find_the_expression_tok, r=e...Matthias Krüger-1/+10
2024-07-31tweak comment on `NonterminalKind::Expr`Michael Goulet-1/+1
2024-07-31rustc_parser: consider the in 2024 an expressionVincenzo Palazzo-1/+10
2024-07-31Remove `LhsExpr`.Nicholas Nethercote-42/+28
2024-07-31Inline and remove `parse_local_mk`.Nicholas Nethercote-16/+6
2024-07-30Add toggle for `parse_meta_item` unsafe parsingcarbotaniuman-4/+17
2024-07-29Mark Parser::eat/check methods as must_useMichael Goulet-11/+26
2024-07-29Reformat `use` declarations.Nicholas Nethercote-149/+154
2024-07-27Rollup merge of #128207 - folkertdev:asm-parser-generalize, r=AmanieuTrevor Gross-2/+5
2024-07-26Rollup merge of #128229 - tdittr:unsafe-extern-abi-error, r=compiler-errorsTrevor Gross-3/+6
2024-07-26Rollup merge of #128224 - nnethercote:fewer-replace_ranges, r=petrochenkovTrevor Gross-25/+21
2024-07-26Rollup merge of #128223 - nnethercote:refactor-collect_tokens, r=petrochenkovTrevor Gross-45/+43
2024-07-26Improve error message for `extern "C" unsafe fn()`Tamme Dittrich-3/+6
2024-07-26Remove an unnecessary block.Nicholas Nethercote-11/+9
2024-07-26Tweak a loop.Nicholas Nethercote-5/+7
2024-07-26Fix a comment.Nicholas Nethercote-3/+3
2024-07-26Don't include inner attribute ranges in `CaptureState`.Nicholas Nethercote-6/+2
2024-07-26Invert the sense of `is_complete` and rename it as `needs_tokens`.Nicholas Nethercote-11/+13
2024-07-26Move `is_complete` to the module that uses it.Nicholas Nethercote-13/+13
2024-07-26Inline and remove `AttrWrapper::is_complete`.Nicholas Nethercote-8/+4
2024-07-26Invert early exit conditions in `collect_tokens_trailing_token`.Nicholas Nethercote-29/+29
2024-07-25improve error message when `global_asm!` uses `asm!` optionsFolkert-2/+5
2024-07-25Fix a span error when parsing a wrong param of function.surechen-1/+8
2024-07-25Rollup merge of #127054 - compiler-errors:bound-ordering, r=fmeaseMatthias Krüger-3/+57
2024-07-25Apply suggestions from code reviewLeón Orell Valerian Liehr-2/+6
2024-07-23Stabilize unsafe extern blocks (RFC 3484)Santiago Pastorino-3/+0