about summary refs log tree commit diff
path: root/compiler/rustc_infer/src/errors/mod.rs
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-1621/+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-4/+3
2024-07-11Make it translatable tooMichael Goulet-0/+29
2024-05-24Remove `DefId` from `EarlyParamRegion` (tedium/diagnostics)Boxy-1/+4
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-04-21Pass translation closure to add_to_diag_with() as referenceXiretza-9/+9
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-20/+20
2024-03-11Rename `IntoDiagnosticArg` as `IntoDiagArg`.Nicholas Nethercote-5/+5
2024-03-05Rename `SubdiagnosticMessageOp` as `SubdiagMessageOp`.Nicholas Nethercote-10/+10
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-1/+1
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-12/+11
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-11/+48
2024-02-08Add `SubdiagnosticMessageOp` as a trait alias.Nicholas Nethercote-37/+10
2024-01-30Remove the lifetime from `DiagnosticArgValue`.Nicholas Nethercote-1/+1
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-33/+33
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-20/+14
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-3/+1
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-1/+1
2023-10-04Point to where missing return type should goMichael Goulet-5/+5
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-9/+7
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-12Rollup merge of #110153 - DaniPopes:compiler-typos, r=NilstriebMatthias Krüger-3/+3
2023-04-10Fix typos in compilerDaniPopes-3/+3
2023-04-04A more general implementation of `IntoDiagnosticArg` for `Binder` (Also remov...IQuant-10/+2
2023-04-04Renamed TypeErrorAdditionalDiags (was Error0308Subdiags) and ObligationCauseF...IQuant-14/+14
2023-04-04Migrate (most of) report_and_explain_type_errorIQuant-15/+158
2023-04-04Migrate TupleTrailingCommaSuggestionIQuant-0/+16
2023-04-04Migrate SuggestTuplePatternIQuant-0/+36
2023-04-04Migrate SuggestBoxingForReturnImplTrait, Fix typo in infer_fn_consider_castingIQuant-1/+19
2023-04-04Migrate SuggestAccessingFieldIQuant-0/+28
2023-04-04Migrate SuggestAsRefWhereAppropriateIQuant-0/+72
2023-04-04Ported FunctionPointerSuggestionIQuant-0/+60
2023-03-03Migrate diagnosticMichael Goulet-0/+10