about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
AgeCommit message (Expand)AuthorLines
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-45/+59
2024-07-30Rollup merge of #128376 - compiler-errors:finish-ur-vegetables, r=jieyouxuMatthias Krüger-11/+26
2024-07-30Auto merge of #128083 - Mark-Simulacrum:bump-bootstrap, r=albertlarsan68bors-6/+1
2024-07-30Auto merge of #127955 - chenyukang:yukang-fix-mismatched-delimiter-issue-1278...bors-3/+18
2024-07-29Deny unsafe on more builtin attributescarbotaniuman-56/+92
2024-07-29Mark Parser::eat/check methods as must_useMichael Goulet-11/+26
2024-07-29Reformat `use` declarations.Nicholas Nethercote-176/+185
2024-07-28step cfg(bootstrap)Mark Rousskov-6/+1
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-25add limit for unclosed delimiters in lexer diagnosticyukang-3/+18
2024-07-25Rollup merge of #127054 - compiler-errors:bound-ordering, r=fmeaseMatthias Krüger-3/+87
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
2024-07-22Always pass the visitor as the first argument to walk* functionsOli Scherer-6/+6
2024-07-22Sync `mut_visit` function names with immut `visit` ones (s/noop_visit/walk/)Oli Scherer-8/+8
2024-07-19Auto merge of #127957 - matthiaskrgr:rollup-1u5ivck, r=matthiaskrgrbors-75/+159
2024-07-19Rollup merge of #127903 - nnethercote:force_collect-improvements, r=petrochenkovMatthias Krüger-36/+38
2024-07-19Rollup merge of #127350 - veera-sivarajan:bugfix-126311, r=lcnrMatthias Krüger-39/+121
2024-07-19Overhaul comments in `collect_tokens_trailing_token`.Nicholas Nethercote-75/+129
2024-07-19Make `Parser::num_bump_calls` 0-indexed.Nicholas Nethercote-6/+11
2024-07-19Move `inner_attr` code downwards.Nicholas Nethercote-10/+10
2024-07-19Remove `final_attrs` local variable.Nicholas Nethercote-4/+2
2024-07-19Simplify `CaptureState::inner_attr_ranges`.Nicholas Nethercote-5/+5
2024-07-19Only check `force_collect` in `collect_tokens_trailing_token`.Nicholas Nethercote-24/+21
2024-07-19Use `ForceCollect` in `parse_attr_item`.Nicholas Nethercote-5/+8
2024-07-19Don't always force collect tokens in `recover_stmt_local_after_let`.Nicholas Nethercote-6/+9
2024-07-19Remove an unnecessary `ForceCollect::Yes`.Nicholas Nethercote-5/+4
2024-07-18Parser: Suggest Placing the Return Type After Function ParametersVeera-39/+121
2024-07-18Rollup merge of #127835 - estebank:issue-127823, r=compiler-errorsMatthias Krüger-6/+2