about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
AgeCommit message (Expand)AuthorLines
2024-01-14Reformat `struct_span_code_err!`.Nicholas Nethercote-5/+1
2024-01-13Don't consider delayed bugs for `-Ztreat-err-as-bug`.Nicholas Nethercote-41/+23
2024-01-12Give me a way to emit all the delayed bugsMichael Goulet-0/+6
2024-01-12Good path bugs are just a flavor of delayed bugMichael Goulet-29/+44
2024-01-12Avoid repetition in `flush_delayed` calls.Nicholas Nethercote-15/+20
2024-01-11Rollup merge of #119853 - klensy:rustfmt-ignore, r=cuviperMatthias Krüger-2/+3
2024-01-11Rollup merge of #119841 - nnethercote:rm-DiagnosticBuilder-buffer, r=oli-obkMatthias Krüger-43/+14
2024-01-11Rollup merge of #119448 - klensy:annotate-snippets-0.10, r=davidtwcoMatthias Krüger-8/+3
2024-01-11apply fmtklensy-2/+3
2024-01-11Remove `DiagnosticBuilder::buffer`.Nicholas Nethercote-5/+0
2024-01-11Stop using `DiagnosticBuilder::buffer` in `BorrowckErrors`.Nicholas Nethercote-1/+1
2024-01-11Remove `DiagnosticBuilder::into_diagnostic` from `-Ztreat-err-as-bug` conside...Nicholas Nethercote-23/+6
2024-01-11Move code around.Nicholas Nethercote-3/+4
2024-01-11Use the right level with `-Ztreat-err-as-bug`.Nicholas Nethercote-1/+1
2024-01-11Inline and remove `DiagCtxtInner::bump_{lint_err,err}_count`.Nicholas Nethercote-13/+5
2024-01-11Simplify lint error counting.Nicholas Nethercote-4/+4
2024-01-11Replace `warn_count`.Nicholas Nethercote-29/+12
2024-01-11Move `DiagCtxtInner::deduplicated_warn_count`.Nicholas Nethercote-3/+4
2024-01-11Reset `lint_err_count` in `DiagCtxt::reset_err_count`.Nicholas Nethercote-0/+1
2024-01-11Change how `force-warn` lint diagnostics are recorded.Nicholas Nethercote-25/+28
2024-01-11Rename `TRACK_DIAGNOSTICS` as `TRACK_DIAGNOSTIC`.Nicholas Nethercote-4/+4
2024-01-10Add missing `DiagnosticBuilder::eager_diagnostic` method.Nicholas Nethercote-1/+5
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-64/+64
2024-01-10Add `DiagCtxt::delayed_bug`.Nicholas Nethercote-7/+11
2024-01-10Rename `{create,emit}_warning` as `{create,emit}_warn`.Nicholas Nethercote-3/+3
2024-01-10Rename `struct_span_err!` as `struct_span_code_err!`.Nicholas Nethercote-1/+1
2024-01-10Fix incorrect comment.Nicholas Nethercote-1/+1
2024-01-09Remove `-Zdont-buffer-diagnostics`.Nicholas Nethercote-5/+1
2024-01-08Remove `{DiagCtxt,DiagCtxtInner}::emit_diagnostic_without_consuming`.Nicholas Nethercote-23/+7
2024-01-08Remove `DiagnosticBuilderState`.Nicholas Nethercote-141/+73
2024-01-08Make `emit_producing_{guarantee,nothing}` consuming.Nicholas Nethercote-9/+9
2024-01-08Remove `DiagnosticBuilder::delay_as_bug_without_consuming`.Nicholas Nethercote-7/+0
2024-01-08Remove `DiagnosticBuilder::emit_without_consuming`.Nicholas Nethercote-7/+1
2024-01-08Remove all eight `DiagnosticBuilder::*_with_code` methods.Nicholas Nethercote-94/+2
2024-01-08Use chaining in `DiagnosticBuilder` construction.Nicholas Nethercote-73/+34
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-93/+108
2024-01-08Remove `Clone` impl for `DiagnosticBuilder`.Nicholas Nethercote-1/+5
2024-01-07annotate-snippets: update to 0.10klensy-8/+3
2024-01-05Remove outdated references to `librustc_middle`.Alona Enraght-Moony-1/+2
2024-01-05Rollup merge of #119601 - nnethercote:Emitter-cleanups, r=oli-obkMichael Goulet-19/+21
2024-01-05Rollup merge of #119567 - nnethercote:rm-Zreport-delayed-bugs, r=oli-obkMichael Goulet-13/+3
2024-01-05Rollup merge of #119538 - nnethercote:cleanup-errors-5, r=compiler-errorsMichael Goulet-107/+69
2024-01-05Add some comments to `Emitter`.Nicholas Nethercote-3/+5
2024-01-05Rename `AnnotateSnippetEmitterWriter` as `AnnotateSnippetEmitter`.Nicholas Nethercote-4/+4
2024-01-05Rename `EmitterWriter` as `HumanEmitter`.Nicholas Nethercote-12/+12
2024-01-04Remove `-Zreport-delayed-bugs`.Nicholas Nethercote-13/+3
2024-01-04Remove `is_lint` field from `Level::Error`.Nicholas Nethercote-22/+14
2024-01-04compiler: fix typosvuittont60-1/+1
2024-01-04Remove unused `DiagnosticBuilder::struct_almost_fatal`.Nicholas Nethercote-10/+0
2024-01-03Fix `forward!` so it doesn't require trailing commas in some cases.Nicholas Nethercote-4/+4