about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
AgeCommit message (Expand)AuthorLines
2025-03-06Give a better error message on async use in edition 2015Santiago Pastorino-0/+7
2025-03-06Use closure parse codeSantiago Pastorino-0/+8
2025-03-06Implement .use keyword as an alias of cloneSantiago Pastorino-0/+13
2025-03-01Rollup merge of #137824 - estebank:rtn-sugg, r=compiler-errorsMatthias Krüger-1/+2
2025-02-28Tweak invalid RTN errorsEsteban Küber-1/+2
2025-02-28Remove `NtMeta`.Nicholas Nethercote-1/+1
2025-02-25Teach structured errors to display short `Ty`Esteban Küber-1/+0
2025-02-15Try to recover from path sep error in parseryukang-8/+0
2025-02-08Rustfmtbjorn3-32/+44
2025-01-28Rollup merge of #133151 - tyrone-wu:trim-fn-ptr-whitespace, r=compiler-errorsMatthias Krüger-2/+4
2025-01-27Trim extra whitespace in fn ptr suggestion spanTyrone Wu-2/+4
2025-01-27Use identifiers in diagnostics more oftenMichael Goulet-1/+1
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-09Introduce `default_field_values` featureEsteban Küber-8/+0
2024-12-04Fix suggestion when shorthand self has erroneous typeMichael Goulet-0/+19
2024-11-30Eliminate magic numbers from expression precedenceDavid Tolnay-1/+2
2024-11-28Rollup merge of #133560 - clubby789:mut-mut-space, r=jieyouxuGuillaume Gomez-1/+2
2024-11-28Trim extra space in 'repeated `mut`' diagnosticclubby789-1/+2
2024-11-25fix confusing diagnostic for reserved `##`Peter Jaszkowiak-0/+9
2024-11-21Add metavariables to `TokenDescription`.Nicholas Nethercote-2/+26
2024-11-15Trim whitespace in RemoveLet primary spanTyrone Wu-1/+2
2024-10-30Enforce that raw lifetime identifiers must be valid raw identifiersMichael Goulet-0/+8
2024-10-12Rollup merge of #130870 - surechen:fix_130791, r=compiler-errorsTrevor Gross-0/+8
2024-10-08Reserve guarded string literals (RFC 3593)Peter Jaszkowiak-0/+18
2024-10-06On function and method calls in patterns, link to the bookEsteban Küber-0/+1
2024-10-02Rollup merge of #130725 - GrigorenkoPV:@-in-struct-patterns, r=NadrierilJubilee-0/+19
2024-09-27Add suggestion for removing invalid path separator `::` in function definition.surechen-0/+8
2024-09-23Parser: better error messages for `@` in struct patternsPavel Grigorenko-0/+19
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-36/+24
2024-09-21Parser: recover from `:::` to `::`Pavel Grigorenko-1/+9
2024-09-18Add suggestions for expressions in patternsLieselotte-0/+77
2024-09-18Recover more expressions in patternsLieselotte-2/+0
2024-08-29Add `warn(unreachable_pub)` to `rustc_parser`.Nicholas Nethercote-35/+35
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-6/+6
2024-08-01Rollup merge of #128496 - clubby789:box-syntax-multipart, r=compiler-errorsMatthias Krüger-7/+16
2024-08-01Fix removed `box_syntax` diagnostic if source isn't availableclubby789-7/+16
2024-08-01Auto merge of #127543 - carbotaniuman:more_unsafe_attr_verification, r=esteba...bors-0/+1
2024-07-30Add toggle for `parse_meta_item` unsafe parsingcarbotaniuman-0/+1
2024-07-30Auto merge of #128083 - Mark-Simulacrum:bump-bootstrap, r=albertlarsan68bors-6/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+3
2024-07-28step cfg(bootstrap)Mark Rousskov-6/+1
2024-07-25Rollup merge of #127054 - compiler-errors:bound-ordering, r=fmeaseMatthias Krüger-0/+30
2024-07-19Rollup merge of #127350 - veera-sivarajan:bugfix-126311, r=lcnrMatthias Krüger-7/+15
2024-07-18Parser: Suggest Placing the Return Type After Function ParametersVeera-7/+15
2024-07-18Fix ICE in suggestion caused by `⩵` being recovered as `==`Esteban Küber-2/+1
2024-07-16Deny keyword lifetimes pre-expansionMichael Goulet-0/+15
2024-07-12Make `;` suggestions inlineEsteban Küber-3/+3
2024-07-12More accurate incorrect use of `await` suggestionEsteban Küber-8/+15
2024-07-12Use more accurate span for `:` to `::` suggestionEsteban Küber-1/+3
2024-07-12Make `impl` and `!` removal suggestion `short`Esteban Küber-2/+2