about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
AgeCommit message (Expand)AuthorLines
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-2/+6
2024-02-19Prefer `DiagnosticBuilder` over `Diagnostic` in diagnostic modifiers.Nicholas Nethercote-16/+14
2024-02-18Rollup merge of #121237 - Urgau:better-cargo-heuristic, r=compiler-errorsLeón Orell Valerian Liehr-1/+1
2024-02-17Rollup merge of #121231 - matthiaskrgr:cloone, r=compiler-errorsMatthias Krüger-2/+2
2024-02-17Rollup merge of #121085 - davidtwco:always-eager-diagnostics, r=nnethercoteMatthias Krüger-8/+11
2024-02-17Use better heuristic for printing Cargo specific diagnosticsUrgau-1/+1
2024-02-17remove a couple of redundant clonesMatthias Krüger-2/+2
2024-02-16Rollup merge of #121109 - nnethercote:TyKind-Err-guar-2, r=oli-obkGuillaume Gomez-21/+42
2024-02-15errors: only eagerly translate subdiagnosticsDavid Wood-8/+11
2024-02-15Add `ErrorGuaranteed` to `ast::LitKind::Err`, `token::LitKind::Err`.Nicholas Nethercote-15/+17
2024-02-15Make `emit_unescape_error` return `Option<ErrorGuaranteed>`.Nicholas Nethercote-40/+34
2024-02-15Remove `LitError::LexerError`.Nicholas Nethercote-15/+15
2024-02-15Add an `ErrorGuaranteed` to `ast::TyKind::Err`.Nicholas Nethercote-21/+42
2024-02-12Properly handle `async` blocks and `fn`s in `if` exprs without `else`Esteban Küber-1/+1
2024-02-12Lower anonymous structs or unions to HIRFrank King-2/+3
2024-02-09Rollup merge of #120693 - nnethercote:invert-diagnostic-lints, r=davidtwcoMatthias Krüger-1/+3
2024-02-08Auto merge of #120767 - matthiaskrgr:rollup-0k8ib1c, r=matthiaskrgrbors-6/+3
2024-02-08Continue to borrowck even if there were previous errorsOli Scherer-1/+11
2024-02-08Add `SubdiagnosticMessageOp` as a trait alias.Nicholas Nethercote-6/+3
2024-02-06Invert diagnostic lints.Nicholas Nethercote-1/+3
2024-02-06Auto merge of #120392 - compiler-errors:async-bound-modifier, r=davidtwco,fmeasebors-7/+33
2024-02-03Rollup merge of #120592 - trevyn:cleanup-to-string, r=NilstriebMatthias Krüger-3/+3
2024-02-02Remove unnecessary `.to_string()`/`.as_str()`strevyn-3/+3
2024-02-03Fix an incorrect comment.Nicholas Nethercote-1/+1
2024-01-31Better error message in ed 2015Michael Goulet-2/+22
2024-01-31Add async bound modifier to enable async Fn boundsMichael Goulet-5/+11
2024-01-30Rollup merge of #120460 - nnethercote:fix-120397, r=compiler-errorsGuillaume Gomez-10/+25
2024-01-29Rollup merge of #118625 - ShE3py:expr-in-pats, r=WaffleLapkinDylan DPC-13/+168
2024-01-29Be more careful about interpreting a label/lifetime as a mistyped char literal.Nicholas Nethercote-3/+18
2024-01-29Tweak comment and naming for `recover_unclosed_char`.Nicholas Nethercote-7/+7
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-20/+20
2024-01-28Handle methodcalls & operators in patternsLieselotte-13/+168
2024-01-27Rollup merge of #118182 - estebank:issue-118164, r=davidtwcoMatthias Krüger-2/+17
2024-01-26Properly recover from trailing attr in bodyEsteban Küber-2/+17
2024-01-26Rollup merge of #119342 - sjwang05:issue-112254, r=wesleywiserMatthias Krüger-7/+28
2024-01-26Rollup merge of #120329 - nnethercote:3349-precursors, r=fee1-deadMatthias Krüger-12/+12
2024-01-25Remove unused featuresclubby789-3/+0
2024-01-25Use `unescape_unicode` for raw C string literals.Nicholas Nethercote-1/+1
2024-01-25Rename the unescaping functions.Nicholas Nethercote-12/+12
2024-01-20Rollup merge of #120063 - clubby789:remove-box-handling, r=NilstriebGuillaume Gomez-21/+7
2024-01-19Rollup merge of #119062 - compiler-errors:asm-in-let-else, r=davidtwco,est31Matthias Krüger-17/+37
2024-01-18Rollup merge of #119172 - nnethercote:earlier-NulInCStr, r=petrochenkovMatthias Krüger-0/+8
2024-01-18Suggest wrapping mac args in parens rather than the whole expressionMichael Goulet-17/+37
2024-01-17Remove `box <expr>` recoveryclubby789-21/+7
2024-01-14Auto merge of #119341 - sjwang05:issue-58462, r=WaffleLapkinbors-4/+43
2024-01-12Suggest quoting unquoted idents in attrssjwang05-4/+43
2024-01-12Delegation implementation: step 1Bryanskiy-0/+36
2024-01-12Detect `NulInCStr` error earlier.Nicholas Nethercote-0/+8
2024-01-11Stop using `DiagnosticBuilder::buffer` in the parser.Nicholas Nethercote-17/+17
2024-01-11Fix lifetimes in `StringReader`.Nicholas Nethercote-23/+27