about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/lib.rs
AgeCommit message (Expand)AuthorLines
2025-05-27Remove an unnecessary use of `Box::into_inner`.Nicholas Nethercote-1/+0
2025-05-12update cfg(bootstrap)Pietro Albini-1/+0
2025-04-23Make #![feature(let_chains)] bootstrap conditional in compiler/est31-1/+1
2025-04-16Move eager translation to a method on `Diag`Jake Goulding-1/+1
2025-04-07Don't call Span.with_parent on the good path in has_stashed_diagnosticMichael Goulet-26/+44
2025-04-03Split ExpectationLintId off LevelOli Scherer-20/+19
2025-03-11Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.Nicholas Nethercote-1/+0
2025-03-10Revert "Use workspace lints for crates in `compiler/` #138084"许杰友 Jieyou Xu (Joe)-0/+1
2025-03-09Rollup merge of #138084 - nnethercote:workspace-lints, r=jieyouxuMatthias Krüger-1/+0
2025-03-08Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.Nicholas Nethercote-1/+0
2025-03-07Rollup merge of #138111 - estebank:use-dfv, r=nnethercoteMatthias Krüger-0/+1
2025-03-06Rollup merge of #137303 - compiler-errors:maybe-forgor, r=cjgillotMichael Goulet-1/+0
2025-03-03Use default field values in `markdown::parse::Context`Esteban Küber-0/+1
2025-02-23stabilize extract_ifbendn-1/+0
2025-02-22Remove MaybeForgetReturn suggestionMichael Goulet-1/+0
2025-02-21Trim suggestion part before generating highlightsMichael Goulet-1/+6
2025-02-21More sophisticated span trimmingMichael Goulet-11/+34
2025-02-16Move hashes from rustc_data_structure to rustc_hashes so they can be shared w...Ben Kimock-1/+2
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