about summary refs log tree commit diff
path: root/compiler/rustc_errors
AgeCommit message (Expand)AuthorLines
2023-12-04Give `Handler::fatal` and `Session::fatal` the same return type.Nicholas Nethercote-6/+7
2023-12-04dedup for duplicate suggestionsbohan-4/+5
2023-12-02`Handler` tweaks.Nicholas Nethercote-8/+6
2023-12-02Rename `Handler::delay_good_path_bug` as `Handler::good_path_delayed_bug`.Nicholas Nethercote-12/+12
2023-12-02Rename `HandlerInner::delayed_span_bugs` as `HandlerInner::span_delayed_bugs`.Nicholas Nethercote-14/+14
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-9/+12
2023-12-02Rename `*note_without_error` as `*note`.Nicholas Nethercote-10/+3
2023-12-02Rename `HandlerInner::failure` as `HandlerInner::failure_note`.Nicholas Nethercote-4/+4
2023-12-02Rename `Handler::span_note_diag` as `struct_span_note`.Nicholas Nethercote-1/+1
2023-12-02Remove an unnecessary local variable.Nicholas Nethercote-2/+1
2023-12-02Return `ErrorGuaranteed` from `span_err_with_code` methods.Nicholas Nethercote-2/+3
2023-12-02Inline and remove `DiagnosticBuilder::new_diagnostic_fatal`.Nicholas Nethercote-9/+1
2023-11-26Use `rustc_fluent_macro::fluent_messages!` directly.Nicholas Nethercote-2/+1
2023-11-24Show number in error message even for one errorNilstrieb-1/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-6/+6
2023-11-21Auto merge of #115691 - jsgf:typed-json-diags, r=est31,dtolnaybors-30/+35
2023-11-20Update some more cases of "type" -> "$message_type"David Tolnay-1/+2
2023-11-19Remove unnecessary .collect()Esteban Küber-7/+7
2023-11-19Don't sort `span_suggestions`, leave that to callerEsteban Küber-6/+1
2023-11-19When encountering struct fn call literal with private fields, suggest all bui...Esteban Küber-4/+7
2023-11-15Bump cfg(bootstrap)sMark Rousskov-2/+2
2023-11-14Fix some typoscui fliter-1/+1
2023-11-13Auto merge of #116866 - slanterns:inspect-stabilize, r=BurntSushibors-1/+0
2023-11-08rustc: minor changes suggested by clippy perf lints.Nicholas Nethercote-5/+1
2023-11-01Rollup merge of #117397 - compiler-errors:dont-emit-good-path-on-panic, r=TaK...Matthias Krüger-1/+1
2023-10-30Don't emit delayed good-path bugs on panicMichael Goulet-1/+1
2023-10-30Clean up `rustc_*/Cargo.toml`.Nicholas Nethercote-12/+14
2023-10-26Stash and cancel cycle errors for auto trait leakage in opaquesMichael Goulet-0/+2
2023-10-20Auto merge of #116962 - estebank:issue-63835, r=oli-obkbors-1/+8
2023-10-19Do not bold main message in `--error-format=short`Esteban Küber-1/+8
2023-10-19Fix duplicate labels emitted in `render_multispan_macro_backtrace()`Gurinder Singh-4/+4
2023-10-18Remove `#![feature(result_option_inspect)]` from the compilerSlanterns-1/+0
2023-10-16Rollup merge of #115196 - chenyukang:yukang-fix-86094, r=estebankMatthias Krüger-0/+1
2023-10-15Suggest adding `return` if the type of unused semi return value can coerce to...yukang-0/+1
2023-10-15Auto merge of #116688 - compiler-errors:rustfmt-up, r=WaffleLapkin,Nilstriebbors-15/+23
2023-10-13Use `$message_type` as the tagJeremy Fitzhardinge-1/+1
2023-10-13Format all the let chains in compilerMichael Goulet-15/+23
2023-10-12check-cfg: only print the list of expected names onceUrgau-0/+1
2023-10-08rustdoc: remove rust logo from non-Rust cratesMichael Howell-0/+2
2023-10-05Add a note to duplicate diagnosticsAlex Macleod-3/+8
2023-09-22Auto merge of #115690 - ShE3py:Z-treat-err-as-bug, r=petrochenkovbors-7/+5
2023-09-22Allow `-Z treat-err-as-bug=0`Lieselotte-7/+5
2023-09-22give FutureIncompatibilityReason variants more explicit namesRalf Jung-1/+7
2023-09-21Prevent promotion of const fn calls in inline constsOli Scherer-1/+1
2023-09-19Use serde_json::to_writer for JsonEmitter::emitJeremy Fitzhardinge-4/+5
2023-09-19Make sure nested Diagnostics in FutureIncompat are also typed for consistency.Jeremy Fitzhardinge-7/+12
2023-09-19Add `type` field to json diagnostic outputsJeremy Fitzhardinge-24/+22
2023-09-15implement -Z ignore-directory-in-diagnostics-source-blocksPietro Albini-5/+39
2023-09-08Auto merge of #115418 - Zoxc:freeze-source, r=oli-obkbors-5/+5
2023-09-07Use `Freeze` for `SourceFile.external_src`John Kåre Alsaker-5/+5