about summary refs log tree commit diff
path: root/compiler/rustc_infer/src/errors
AgeCommit message (Collapse)AuthorLines
2023-04-11Remove the unused `anon_num_here` error.Nicholas Nethercote-2/+0
2023-04-10Fix typos in compilerDaniPopes-3/+3
2023-04-10Auto merge of #108698 - IntQuant:issue-100717-infer-6, r=davidtwcobors-12/+377
Migrating rustc_infer to session diagnostics (part 5) `@rustbot` label +A-translation cc https://github.com/rust-lang/rust/issues/100717
2023-04-06Remove index from BrAnonJack Huey-1/+1
2023-04-06Don't use BrAnon index in diagnosticsJack Huey-3/+2
2023-04-04A more general implementation of `IntoDiagnosticArg` for `Binder` (Also ↵IQuant-10/+2
removes `DiagArg`, as it's no longer necessary)
2023-04-04Renamed TypeErrorAdditionalDiags (was Error0308Subdiags) and ↵IQuant-14/+14
ObligationCauseFailureCode (was FailureCodeDiagnostics)
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
2023-02-22errors: generate typed identifiers in each crateDavid Wood-20/+20
Instead of loading the Fluent resources for every crate in `rustc_error_messages`, each crate generates typed identifiers for its own diagnostics and creates a static which are pulled together in the `rustc_driver` crate and provided to the diagnostic emitter. Signed-off-by: David Wood <david.wood@huawei.com>
2023-02-14Specify correct spans in suggest_await_on_expect_foundIQuant-7/+1
2023-02-14Port PlaceholderRelationLfNotSatisfied diagnosticIQuant-0/+59
2023-02-14Port ConsiderAddingAwaitIQuant-0/+43
2023-02-14Port SuggestRemoveSemiOrReturnBindingIQuant-0/+44
2023-02-14Make sure tests passNikita Tomashevich-1/+1
2023-02-14Port WhereClauseSuggestionsNikita Tomashevich-0/+26
2023-02-14Resolve rebaseNikita Tomashevich-14/+0
2023-02-14Port another diagnosticNikita Tomashevich-0/+4
2023-02-14Port RefLongerThanDataNikita Tomashevich-0/+14
2023-02-14Port "BorrowedTooLong" diagnosticNikita Tomashevich-2/+16
2023-02-14Port OutlivesContent, OutlivesBound, FUllfillReqLifetime, ↵Nikita Tomashevich-7/+66
LfBoundNotSatisfied diagnostics
2023-02-09Change to `ReError(ErrorGuaranteed)`Esteban Küber-1/+1
2023-02-09Introduce `ReError`Esteban Küber-0/+2
CC #69314
2023-01-18Fix #107090, fix missing arguments for fluentyukang-0/+2
2023-01-07Rollup merge of #101936 - IntQuant:issue-100717-infer-4, r=compiler-errorsMatthias Krüger-5/+416
Migrating rustc_infer to session diagnostics (part 3) ``@rustbot`` label +A-translation r? rust-lang/diagnostics cc https://github.com/rust-lang/rust/issues/100717 Seems like a part of static_impl_trait.rs emits suggestions in a loop, and note.rs needs to have two instances of the same subdiagnostic, so these will need to wait until we have eager translation/list support. Other than that, there is only error_reporting/mod.rs left to migrate.
2022-12-28Rename `Rptr` to `Ref` in AST and HIRNilstrieb-2/+2
The name makes a lot more sense, and `ty::TyKind` calls it `Ref` already as well.
2022-12-28eager is the default nowNikita Tomashevich-1/+1
2022-12-28Made ty_or_sig and trait_path use their actual types instead of StringNikita Tomashevich-32/+69
2022-12-28Split infer_explicit_lifetime_required into several diagsNikita Tomashevich-17/+32
2022-12-28Address changes of pr 103345Nikita Tomashevich-46/+46
2022-12-28Rename subdiagnostic fields that do not need to be unique nowNikita Tomashevich-8/+3
2022-12-28Use eager translationNikita Tomashevich-11/+27
2022-12-28Split into several messagesNikita Tomashevich-8/+160
2022-12-28More descriptive names for ActualImplExplNotes variantsNikita Tomashevich-4/+4
2022-12-28Rebase and fixNikita Tomashevich-13/+13
2022-12-28Partial work on static_impl_trait.rsNikita Tomashevich-0/+97
2022-12-28Migrate trait_impl_difference.rsNikita Tomashevich-0/+38
2022-12-28Migrate placeholder_error.rsNikita Tomashevich-0/+41
2022-12-28Migrate named_anon_conflict.rsNikita Tomashevich-2/+22
2022-12-04Always evaluate vecs of subdiagnostics eagerlymejrs-1/+1
2022-11-23Separate lifetime ident from resolution in HIR.Camille GILLOT-12/+12
2022-11-10Auto merge of #103636 - chenyukang:yukang/fix-103587-sugg-if-let, ↵bors-0/+12
r=jackh276,davidtwco Recover from common if let syntax mistakes/typos Fixes #103587
2022-11-08use subdiagnostic for sugesting add letyukang-0/+12
2022-11-07Add an optional Span to BrAnon and use it to print better error for HRTB ↵Jack Huey-2/+5
error from generator interior