about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/lib.rs
AgeCommit message (Expand)AuthorLines
2023-07-03Add a simple markdown parser for formatting `rustc --explain`Trevor Gross-0/+1
2023-06-14s/drain_filter/extract_if/ for Vec, Btree{Map,Set} and LinkedListThe 8472-2/+2
2023-06-06Respect `RUST_BACKTRACE` for delayed bugsNilstrieb-4/+14
2023-06-01Remove adt_const_params usage from compilerMichael Goulet-2/+1
2023-05-29Use `Cow` in `{D,Subd}iagnosticMessage`.Nicholas Nethercote-7/+7
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-2/+2
2023-05-22Check opaques for mismatch during writebackMichael Goulet-0/+1
2023-05-21Rollup merge of #111745 - Badel2:emitter-add-overflow, r=compiler-errorsMatthias Krüger-6/+5
2023-05-19Fix overflow in error emitterBadel2-6/+5
2023-05-17Give a more useful location for where a span_bug was delayedjyn-1/+1
2023-05-17Emits E0599 when meeting MyTrait::missing_methodmu001999-0/+1
2023-05-13Auto merge of #107586 - SparrowLii:parallel-query, r=cjgillotbors-3/+3
2023-05-06correct literals for dyn thread safeSparrowLii-3/+3
2023-05-06introduce `DynSend` and `DynSync` auto traitSparrowLii-3/+3
2023-05-05Mark `ErrorGuaranteed` constructor as deprecated so people don't use itMichael Goulet-14/+21
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-8/+8
2023-04-19Auto merge of #110407 - Nilstrieb:fluent-macro, r=davidtwcobors-1/+1
2023-04-18Add `rustc_fluent_macro` to decouple fluent from `rustc_macros`Nilstrieb-1/+1
2023-04-18Store hashes in special types so they aren't accidentally encoded as numbersBen Kimock-2/+2
2023-04-13Rollup merge of #110072 - joshtriplett:stabilize-is-terminal, r=Mark-SimulacrumMatthias Krüger-1/+0
2023-04-12Rollup merge of #110135 - compiler-errors:revert-108031, r=davidtwcoMatthias Krüger-2/+0
2023-04-10Migrate most of `rustc_builtin_macros` to diagnostic implsclubby789-1/+3
2023-04-10Stabilize IsTerminalJosh Triplett-1/+0
2023-04-10Revert "Don't recover lifetimes/labels containing emojis as character literals"Michael Goulet-2/+0
2023-03-21Avoid ICE of attempt to add with overflow in emitteryukang-1/+1
2023-03-11Simplify message pathsest31-1/+1
2023-03-04Properly colorize multi-part suggestions in the same lineEsteban Küber-1/+1
2023-02-26Rollup merge of #108482 - Ezrashaw:force-error-docs, r=GuillaumeGomezMatthias Krüger-3/+1
2023-02-26refactor: statically guarantee that current error codes are documentedEzra Shaw-3/+1
2023-02-25Add ErrorGuaranteed to HIR TyKind::ErrMichael Goulet-15/+1
2023-02-22errors: generate typed identifiers in each crateDavid Wood-2/+4
2023-02-18Rollup merge of #108031 - jieyouxu:issue-108019, r=estebankMatthias Krüger-0/+2
2023-02-16`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle-16/+13
2023-02-14Don't recover lifetimes/labels containing emojis as character literals许杰友 Jieyou Xu (Joe)-0/+2
2023-02-09Introduce `-Zterminal-urls` to use OSC8 for error codesEsteban Küber-0/+8
2023-01-30session: diagnostic migration lint on more fnsDavid Wood-9/+32
2023-01-30errors: add `emit_note`/`create_note` on `Handler`David Wood-0/+11
2023-01-20add debug assertion for suggestions with overlapping partsLukas Markeffsky-0/+1
2023-01-11Rollup merge of #106427 - mejrs:translation_errors, r=davidtwconils-1/+16
2023-01-09Collect backtraces for delayed span-bugs tooMichael Goulet-23/+15
2023-01-08Make translate_message return result and add testsmejrs-1/+11
2023-01-07Rollup merge of #104543 - JhonnyBillM:migrate-codegen-ssa-to-diagnostics-stru...Matthias Krüger-0/+14
2023-01-06Rollup merge of #106287 - Nilstrieb:its-bugging-me-how-we-dont-have-docs, r=j...Matthias Krüger-0/+2
2023-01-05Improve fluent error messagesmejrs-0/+5
2023-01-02Auto merge of #84762 - cjgillot:resolve-span-opt, r=petrochenkovbors-50/+56
2022-12-31Only deduplicate stack traces for good path bugsMichael Goulet-12/+18
2022-12-30Add some docs to `bug`, `span_bug` and `delay_span_bug`Nilstrieb-0/+2
2022-12-27ADD - create and emit Bug support for DiagnosticsJhonny Bill Mena-0/+14
2022-12-25Ignore span references from diagnostics.Camille GILLOT-47/+51
2022-12-25Use absolute spans when trying to steal an AST diagnostic.Camille GILLOT-3/+5