about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/lib.rs
AgeCommit message (Expand)AuthorLines
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-8/+11
2024-01-29Sort attributes in `compiler/rustc_errors/src/lib.rs`.Nicholas Nethercote-5/+7
2024-01-25Remove unused featuresclubby789-2/+1
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-20/+17
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-22/+34
2024-01-12Avoid repetition in `flush_delayed` calls.Nicholas Nethercote-15/+20
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-16/+16
2024-01-11Rename `TRACK_DIAGNOSTICS` as `TRACK_DIAGNOSTIC`.Nicholas Nethercote-4/+4
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-6/+6
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-10Fix incorrect comment.Nicholas Nethercote-1/+1
2024-01-09Remove `-Zdont-buffer-diagnostics`.Nicholas Nethercote-3/+0
2024-01-08Remove `{DiagCtxt,DiagCtxtInner}::emit_diagnostic_without_consuming`.Nicholas Nethercote-23/+7
2024-01-08Remove `DiagnosticBuilderState`.Nicholas Nethercote-0/+1
2024-01-08Remove all eight `DiagnosticBuilder::*_with_code` methods.Nicholas Nethercote-92/+0
2024-01-08Use chaining in `DiagnosticBuilder` construction.Nicholas Nethercote-30/+10
2024-01-08Remove `Clone` impl for `DiagnosticBuilder`.Nicholas Nethercote-0/+1
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-2/+2
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-30/+16
2024-01-05Rename `EmitterWriter` as `HumanEmitter`.Nicholas Nethercote-2/+2
2024-01-04Remove `-Zreport-delayed-bugs`.Nicholas Nethercote-13/+3
2024-01-04Remove `is_lint` field from `Level::Error`.Nicholas Nethercote-14/+10
2024-01-04compiler: fix typosvuittont60-1/+1
2024-01-04Remove unused `DiagnosticBuilder::struct_almost_fatal`.Nicholas Nethercote-10/+0
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-6/+6
2023-12-31rustc_lint: Make `LintLevelsProvider::current_specs()` return `&FxIndexMap`Martin Nordholts-2/+2
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-2/+14
2023-12-24Remove `ParseSess` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+12
2023-12-23Use `pub(crate)` in a couple of places.Nicholas Nethercote-2/+2
2023-12-23Take full advantage of a `use Level::*;`.Nicholas Nethercote-35/+33
2023-12-23Remove `LabelKind`.Nicholas Nethercote-2/+1
2023-12-23Improve some names.Nicholas Nethercote-1/+1
2023-12-23Remove `DiagCtxtInner::span_bug`.Nicholas Nethercote-13/+5
2023-12-23Introduce `DiagCtxt::treat_next_err_as_bug`.Nicholas Nethercote-7/+8
2023-12-23Remove unnecessary line breaks from two string literals.Nicholas Nethercote-4/+2