summary refs log tree commit diff
path: root/compiler/rustc_errors/src/lib.rs
AgeCommit message (Expand)AuthorLines
2023-12-18Rename `HandlerFlags` as `DiagCtxtFlags`.Nicholas Nethercote-4/+4
2023-12-18Rename `HandlerInner` as `DiagCtxtInner`.Nicholas Nethercote-9/+9
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-4/+4
2023-12-15Split `Handler::emit_diagnostic` in two.Nicholas Nethercote-16/+35
2023-12-15Remove `Handler::emit_diag_at_span`.Nicholas Nethercote-23/+9
2023-12-15Avoid `DiagnosticBuilder::<T>::new` calls.Nicholas Nethercote-4/+4
2023-12-15Change `msg: impl Into<String>` for bug diagnostics.Nicholas Nethercote-7/+7
2023-12-14Avoid `struct_diagnostic` where possible.Nicholas Nethercote-2/+17
2023-12-14Inline and remove `HandlerInner::emit_diag_at_span`.Nicholas Nethercote-5/+1
2023-12-14Remove unused `Handler::treat_err_as_bug`.Nicholas Nethercote-5/+0
2023-12-04Inline and remove `fatal_no_raise`.Nicholas Nethercote-10/+3
2023-12-04Make `Handler::{err,bug}` more like `Handler::{warn,note}`.Nicholas Nethercote-10/+3
2023-12-04Remove `HandlerInner::emit`.Nicholas Nethercote-12/+12
2023-12-04Move some `HandlerInner` functions to `Handler`.Nicholas Nethercote-212/+164
2023-12-04Use `DiagnosticBuilder::new` more.Nicholas Nethercote-5/+5
2023-12-04Inline and remove more `DiagnosticBuilder::new_diagnostic_*` functions.Nicholas Nethercote-3/+3
2023-12-04Give `Handler::fatal` and `Session::fatal` the same return type.Nicholas Nethercote-6/+7
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-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-15Bump cfg(bootstrap)sMark Rousskov-2/+2
2023-11-13Auto merge of #116866 - slanterns:inspect-stabilize, r=BurntSushibors-1/+0
2023-10-30Don't emit delayed good-path bugs on panicMichael Goulet-1/+1
2023-10-26Stash and cancel cycle errors for auto trait leakage in opaquesMichael Goulet-0/+2
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-13Format all the let chains in compilerMichael Goulet-1/+5
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-22Allow `-Z treat-err-as-bug=0`Lieselotte-7/+5
2023-09-08Auto merge of #115418 - Zoxc:freeze-source, r=oli-obkbors-1/+1
2023-09-07Use `Freeze` for `SourceFile.external_src`John Kåre Alsaker-1/+1
2023-09-07Implement refinement lint for RPITITMichael Goulet-3/+3
2023-09-04Add OnceHelp lint level (same as OnceNote, except for help)Urgau-3/+5
2023-09-01Add comment so pub items are not removedChristian Legnitto-0/+2
2023-08-30Make `termcolor` types public in `rustc_errors`Christian Legnitto-1/+1
2023-08-30Use conditional synchronization for LockJohn Kåre Alsaker-5/+5
2023-08-24Add comment to the push_trailing functionallaboutevemirolive-2/+16
2023-08-23Bump cfg(bootstrap)Mark Rousskov-1/+1
2023-08-18fixKyle Lin-1/+1
2023-08-18lint linksKyle Lin-3/+3