about summary refs log tree commit diff
path: root/compiler/rustc_infer/src/errors
AgeCommit message (Expand)AuthorLines
2024-10-07Rename `errors/mod.rs` as `errors.rs`.Nicholas Nethercote-14/+0
2024-08-27Add `warn(unreachable_pub)` to `rustc_infer`.Nicholas Nethercote-1/+1
2024-07-21Move all error reporting into rustc_trait_selectionMichael Goulet-1804/+2
2024-07-21Move need_type_info tooMichael Goulet-1/+1
2024-07-17Fix precise capturing suggestion for hidden type when APITs are involvedMichael Goulet-0/+22
2024-07-15Move rustc_infer::infer::error_reporting to rustc_infer::error_reporting::inferMichael Goulet-5/+4
2024-07-11Make it translatable tooMichael Goulet-0/+29
2024-05-24Remove `DefId` from `EarlyParamRegion` (tedium/diagnostics)Boxy-6/+19
2024-05-17Detect when a lifetime is being reused in suggestionEsteban Küber-0/+1
2024-05-17Tweak suggested lifetimes to modify return type instead of `&self` receiverEsteban Küber-2/+8
2024-05-17Account for owning item lifetimes in suggestion and annotate tests as `run-ru...Esteban Küber-3/+39
2024-05-17Always constrain the return type in lifetime suggestionEsteban Küber-0/+5
2024-05-17Suggest setting lifetime in borrowck error involving types with elided lifetimesEsteban Küber-30/+75
2024-05-13Remove `extern crate rustc_middle` from `rustc_infer`.Nicholas Nethercote-0/+1
2024-05-09Fix up `DescriptionCtx::new`.Nicholas Nethercote-9/+1
2024-04-21Pass translation closure to add_to_diag_with() as referenceXiretza-10/+10
2024-04-10Use `fn` ptr signature instead of `{closure@..}` in infer errorEsteban Küber-0/+11
2024-03-27Stop doing expensive work in opt_suggest_box_span eagerlyMichael Goulet-18/+0
2024-03-17Use shorter span for existing `'` -> `"` structured suggestionEsteban Küber-8/+5
2024-03-11Rename `AddToDiagnostic` as `Subdiagnostic`.Nicholas Nethercote-23/+23
2024-03-11Rename `IntoDiagnosticArg` as `IntoDiagArg`.Nicholas Nethercote-10/+10
2024-03-05Rename `SubdiagnosticMessageOp` as `SubdiagMessageOp`.Nicholas Nethercote-14/+12
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-5/+5
2024-02-28Rename `DiagnosticStyledString` as `DiagStyledString`.Nicholas Nethercote-2/+2
2024-02-28Rename `DiagnosticArg{,Map,Name,Value}` as `DiagArg{,Map,Name,Value}`.Nicholas Nethercote-5/+5
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-15/+13
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-13/+57
2024-02-08Add `SubdiagnosticMessageOp` as a trait alias.Nicholas Nethercote-42/+12
2024-01-30Remove the lifetime from `DiagnosticArgValue`.Nicholas Nethercote-3/+3
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-33/+33
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-24/+18
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-3/+1
2023-12-10remove redundant importssurechen-1/+1
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-1/+1
2023-11-17replace unnecessary folder impls with fold_regionlcnr-1/+1
2023-11-14finish `RegionKind` renamelcnr-3/+3
2023-11-13rename `ReLateBound` to `ReBound`lcnr-2/+5
2023-10-13Format all the let chains in compilerMichael Goulet-3/+1
2023-10-04Point to where missing return type should goMichael Goulet-5/+5
2023-09-24Remove span from BrAnon.Camille GILLOT-5/+2
2023-09-23Remove dead error code.Camille GILLOT-12/+1
2023-09-19rustc_hir_analysis: add a helper to check function the signature mismatchesEduardo Sánchez Muñoz-0/+8
2023-07-30inline format!() args up to and including rustc_codegen_llvmMatthias Krüger-10/+8
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-1/+2
2023-06-08More robust as_ref/as_deref suggestionsMichael Goulet-24/+0
2023-04-17Spelling - compilerJosh Soref-7/+7
2023-04-12Auto merge of #110249 - matthiaskrgr:rollup-7iig04q, r=matthiaskrgrbors-3/+3
2023-04-12Rollup merge of #110153 - DaniPopes:compiler-typos, r=NilstriebMatthias Krüger-3/+3
2023-04-12Inline and remove `DescriptionCtx::from_early_bound_and_free_regions`.Nicholas Nethercote-67/+44
2023-04-12Inline and remove `DescriptionCtx::add_to`.Nicholas Nethercote-8/+4