about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/lib.rs
AgeCommit message (Expand)AuthorLines
2025-02-14Trim suggestion parts to the subset that is purely additiveMichael Goulet-0/+18
2025-02-14Consider add-prefix replacements tooMichael Goulet-3/+4
2025-02-14Use underline suggestions for purely 'additive' replacementsMichael Goulet-0/+11
2025-02-06Avoid manually producing FatalError in a couple of placesbjorn3-2/+2
2025-02-02Rollup merge of #136445 - bjorn3:diag_ctxt_cleanup, r=oli-obkMatthias Krüger-33/+20
2025-02-02Replace ParseSess::set_dcx with DiagCtxt::set_emitterbjorn3-0/+4
2025-02-02Use fallback fluent bundle from inner emitter in SilentEmitterbjorn3-7/+1
2025-02-02Slightly simplify DiagCtxt::make_silentbjorn3-27/+16
2025-01-31Make comma separated lists of anything easier to make for errorsEsteban Küber-13/+1
2025-01-19Manual cleanup of some `is_{or_none|some_and}` usagesYotam Ofek-1/+2
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-1/+1
2025-01-11Remove a bunch of diagnostic stashing that doesn't do anythingMichael Goulet-2/+0
2024-12-16update uses of extract_if in the compilerThe 8472-4/+4
2024-12-12Rollup merge of #134187 - nnethercote:rm-PErr, r=jieyouxuMatthias Krüger-2/+1
2024-12-12Rollup merge of #134154 - dev-ardi:field-expr-generics, r=compiler-errorsMatthias Krüger-0/+4
2024-12-12Remove `PErr`.Nicholas Nethercote-2/+1
2024-12-11Don't emit "field expressions may not have generic arguments" if it's a metho...Orion Gonzalez-0/+4
2024-12-11document check_expr_fieldOrion Gonzalez-1/+1
2024-12-06Handle unwinding out of the closure argument of run_compiler with pending del...bjorn3-3/+7
2024-12-06Store a single copy of the error registry in DiagCtxtbjorn3-7/+17
2024-11-12clarify `must_produce_diag` ICE for debuggingRémy Rakic-3/+16
2024-10-07Rollup merge of #131344 - nnethercote:ref-Lrc, r=compiler-errorsMatthias Krüger-3/+3
2024-10-07Convert `Option<&Lrc<T>>` return types to `Option<&T>`.Nicholas Nethercote-3/+3
2024-10-07Remove `InferCtxt::err_count_on_creation`.Nicholas Nethercote-12/+0
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-8/+8
2024-09-18Add suggestions for expressions in patternsLieselotte-0/+2
2024-09-12Implement a Method to Seal `DiagInner`'s SuggestionsVeera-0/+35
2024-09-07Do not ICE on expect(warnings).Camille GILLOT-12/+5
2024-09-06Check AttrId for expectations.Camille GILLOT-86/+15
2024-09-02Rollup merge of #129875 - Sajjon:sajjon_fix_typos_batch_1, r=compiler-errors,...Matthias Krüger-1/+1
2024-09-02chore: Fix typos in 'compiler' (batch 1)Alexander Cyon-1/+1
2024-08-31Remove attr_id from stable lint ids.Camille GILLOT-1/+1
2024-08-31Use AttrId key for unstable<->stable expectation map.Camille GILLOT-5/+5
2024-08-27Add `warn(unreachable_pub)` to `rustc_errors`.Nicholas Nethercote-2/+3
2024-08-14Add `|` to make the html doc of `Level` rendered correctlyJaic1-16/+16
2024-08-12Rollup merge of #128978 - compiler-errors:assert-matches, r=jieyouxuGuillaume Gomez-1/+3
2024-08-11Use assert_matches around the compilerMichael Goulet-1/+3
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-5/+5
2024-08-01Do not underline suggestions for code that is already thereEsteban Küber-6/+16
2024-07-29Reformat `use` declarations.Nicholas Nethercote-24/+21
2024-07-23Rollup merge of #126994 - Alexendoo:explain-markdown, r=tgross35Matthias Krüger-0/+1
2024-07-10Support lists and stylings in more places for `rustc --explain`Alex Macleod-0/+1
2024-06-27Document new field and functionOli Scherer-0/+5
2024-06-26Automatically taint InferCtxt when errors are emittedOli Scherer-20/+41
2024-06-21Fix another assertion failure for some Expect diagnostics.Nicholas Nethercote-4/+4
2024-06-20Fix assertion failure for some `Expect` diagnostics.Nicholas Nethercote-9/+19
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-59/+71
2024-05-23Remove `DelayDm`León Orell Valerian Liehr-3/+3
2024-04-30Remove `extern crate tracing` from numerous crates.Nicholas Nethercote-3/+1
2024-04-29Remove `extern crate rustc_macros` from numerous crates.Nicholas Nethercote-3/+1