about summary refs log tree commit diff
path: root/compiler/rustc_errors
AgeCommit message (Expand)AuthorLines
2024-02-06Invert diagnostic lints.Nicholas Nethercote-0/+2
2024-02-06Check in push_suggestionlong-long-float-0/+9
2024-02-05Make `Emitter::emit_diagnostic` consuming.Nicholas Nethercote-63/+72
2024-02-05Rollup merge of #119600 - aDotInTheVoid:comment-fix, r=compiler-errorsMatthias Krüger-1/+2
2024-02-05Split `Level::DelayedBug` in two.Nicholas Nethercote-86/+98
2024-02-05Refactor `emit_diagnostic`.Nicholas Nethercote-43/+39
2024-02-05Tighten the assertion in `downgrade_to_delayed_bug`.Nicholas Nethercote-1/+1
2024-02-05Make `Diagnostic::is_error` return false for `Level::FailureNote`.Nicholas Nethercote-3/+6
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/+84
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-9/+4
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