about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
AgeCommit message (Expand)AuthorLines
2024-09-12Rollup merge of #130250 - compiler-errors:useless-conversion, r=jieyouxuStuart Cook-6/+6
2024-09-12Rollup merge of #130235 - compiler-errors:nested-if, r=michaelwoeristerStuart Cook-41/+33
2024-09-11clippy::useless_conversionMichael Goulet-6/+6
2024-09-11Also fix if in elseMichael Goulet-35/+27
2024-09-11Simplify some nested if statementsMichael Goulet-6/+6
2024-09-09Remove needless returns detected by clippy in the compilerEduardo Sánchez Muñoz-3/+3
2024-09-08Auto merge of #129346 - nnethercote:fix-double-handling-in-collect_tokens, r=...bors-56/+87
2024-09-07Rollup merge of #126452 - compiler-errors:raw-lifetimes, r=spastorinoMatthias Krüger-35/+82
2024-09-07Rollup merge of #129899 - veera-sivarajan:fix-97793-pr-final, r=chenyukangMichael Goulet-3/+82
2024-09-06Add Suggestions for Misspelled KeywordsVeera-3/+82
2024-09-06Add some more testsMichael Goulet-1/+1
2024-09-06Add initial support for raw lifetimesMichael Goulet-16/+50
2024-09-06Format lexerMichael Goulet-19/+22
2024-09-06Reserve prefix lifetimes tooMichael Goulet-0/+10
2024-09-02chore: Fix typos in 'compiler' (batch 2)Alexander Cyon-1/+1
2024-08-31Rollup merge of #120221 - compiler-errors:statements-are-not-patterns, r=nnet...Matthias Krüger-21/+10
2024-08-29Add `warn(unreachable_pub)` to `rustc_parser`.Nicholas Nethercote-35/+36
2024-08-28Rollup merge of #129667 - dev-ardi:rustc_driver-cleanup, r=michaelwoeristerMatthias Krüger-1/+3
2024-08-28clarify what term can beOrion Gonzalez-1/+3
2024-08-26Don't make pattern nonterminals match statement nonterminalsMichael Goulet-21/+10
2024-08-24Rollup merge of #128524 - chenyukang:yukang-fix-127930-invalid-outer-style-su...Trevor Gross-12/+31
2024-08-24Optimize `collect_tokens` a little.Nicholas Nethercote-23/+40
2024-08-24Avoid double-handling of attributes in `collect_tokens`.Nicholas Nethercote-5/+25
2024-08-23Split the assertion in `NodeRange::new`.Nicholas Nethercote-1/+2
2024-08-23Avoid nested replacement ranges.Nicholas Nethercote-21/+7
2024-08-23Return earlier in some cases in `collect_token`.Nicholas Nethercote-17/+22
2024-08-23Avoid unnecessary `cloned`.Nicholas Nethercote-1/+1
2024-08-23Clarify a comment.Nicholas Nethercote-3/+5
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-26/+18
2024-08-20Auto merge of #127672 - compiler-errors:precise-capturing, r=spastorinobors-1/+0
2024-08-18stabilize raw_ref_opRalf Jung-3/+2
2024-08-17Auto merge of #128771 - carbotaniuman:stabilize_unsafe_attr, r=nnethercotebors-30/+14
2024-08-17Stabilize opaque type precise capturingMichael Goulet-1/+0
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-117/+112
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/+5
2024-08-12Fix bug in `Parser::look_ahead`.Nicholas Nethercote-4/+6
2024-08-11Use assert_matches around the compilerMichael Goulet-2/+5
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-30/+14
2024-08-03Rollup merge of #127921 - spastorino:stabilize-unsafe-extern-blocks, r=compil...Matthias Krüger-3/+0
2024-08-04don't suggest turning crate-level attributes into outer styleyukang-12/+31