about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
AgeCommit message (Expand)AuthorLines
2024-02-05Make `Emitter::emit_diagnostic` consuming.Nicholas Nethercote-63/+72
2024-02-03Rollup merge of #120573 - nnethercote:rm-BorrowckErrors-tainted_by_errors, r=...Matthias Krüger-7/+2
2024-02-03Use `StringPart` more.Nicholas Nethercote-31/+26
2024-02-03Simplify future breakage control flow.Nicholas Nethercote-6/+6
2024-02-03Use `DiagnosticArgName` in a few more places.Nicholas Nethercote-1/+1
2024-02-03Remove some unnecessary `clone` calls.Nicholas Nethercote-5/+3
2024-02-03`SilentEmitter::fatal_note` doesn't need to be optional.Nicholas Nethercote-8/+6
2024-02-03`Diagnostic` cleanupsNicholas Nethercote-18/+2
2024-02-03Remove an out-of-date comment.Nicholas Nethercote-1/+0
2024-02-02Inline and remove `DiagnosticBuilder::into_diagnostic`.Nicholas Nethercote-7/+2
2024-02-01Rework `StringPart`.Nicholas Nethercote-21/+17
2024-02-01Fit more values into `DiagnosticArgValue::Number`.Nicholas Nethercote-7/+6
2024-02-01Tweak `emit_stashed_diagnostics`.Nicholas Nethercote-2/+1
2024-01-31Don't hash lints differently to non-lints.Nicholas Nethercote-8/+8
2024-01-30Rollup merge of #118533 - chenyukang:yukang-fix-118455, r=petrochenkovGuillaume Gomez-0/+1
2024-01-30Remove the second lifetime from `DiagnosticArg`.Nicholas Nethercote-5/+5
2024-01-30Remove the lifetime from `DiagnosticArgName`.Nicholas Nethercote-8/+4
2024-01-30Remove `DiagnosticArgName` from `rustc_codegen_ssa`.Nicholas Nethercote-2/+2
2024-01-30Remove the lifetime from `DiagnosticArgValue`.Nicholas Nethercote-52/+46
2024-01-29Supress unhelpful diagnostics for unresolved top level attributesyukang-0/+1
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-41/+82
2024-01-29Sort attributes in `compiler/rustc_errors/src/lib.rs`.Nicholas Nethercote-5/+7
2024-01-26Fix typoUrgau-1/+1
2024-01-26Improve handling of numbers in IntoDiagnosticArgUrgau-25/+22
2024-01-25Remove unused featuresclubby789-2/+1
2024-01-23add list of characters to uncommon codepoints lintHTGAzureX1212.-0/+8
2024-01-22Tweak error counting.Nicholas Nethercote-15/+11
2024-01-22Count "unused extern" errors as lints rather than normal errors.Nicholas Nethercote-1/+1
2024-01-22Clarify comments about diagnostic count fields.Nicholas Nethercote-6/+6
2024-01-14Rework how diagnostic lints are stored.Nicholas Nethercote-85/+74
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