summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/astconv/errors.rs
AgeCommit message (Expand)AuthorLines
2024-03-15Clean up AstConvLeón Orell Valerian Liehr-1/+113
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-3/+3
2024-02-19Prefer `DiagnosticBuilder` over `Diagnostic` in diagnostic modifiers.Nicholas Nethercote-3/+3
2024-02-17Remove astconv::ConvertedBindingLeón Orell Valerian Liehr-10/+14
2024-02-17Update comments and variable namesLeón Orell Valerian Liehr-10/+11
2024-02-14clean up potential_query_instability with FxIndexMap and UnordMapyukang-2/+2
2024-02-06Rollup merge of #120632 - trevyn:issue-109195, r=oli-obkMatthias Krüger-0/+51
2024-02-05Create helper `maybe_report_similar_assoc_fn`trevyn-0/+51
2024-02-02Remove unnecessary `.to_string()`/`.as_str()`strevyn-1/+1
2024-01-30Rollup merge of #120400 - estebank:bound-error-cleanup, r=oli-obkGuillaume Gomez-11/+21
2024-01-29review commentsEsteban Küber-16/+9
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-1/+3
2024-01-26Use only one label for multiple unsatisfied bounds on type (astconv)Esteban Küber-11/+28
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-2/+2
2024-01-11Taint more aggressively in astconvOli Scherer-2/+4
2024-01-10Rename `struct_span_err!` as `struct_span_code_err!`.Nicholas Nethercote-4/+4
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-3/+3
2024-01-05Auto merge of #119192 - michaelwoerister:mcp533-push, r=cjgillotbors-2/+3
2024-01-04Replace a number of FxHashMaps/Sets with stable-iteration-order alternatives.Michael Woerister-2/+3
2024-01-04Silence redundant warning when E0038 will be emittedEsteban Küber-1/+1
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-14/+14
2023-12-07Resolve assoc item bindings by namespaceLeón Orell Valerian Liehr-79/+146
2023-12-06Point out shadowed associated typesTheLazyDutchman-4/+58
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-1/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-11-19Avoid iterating over hashmaps in astconvNilstrieb-6/+4
2023-11-15Re-format code with new rustfmtMark Rousskov-14/+12
2023-10-30Sort errorsEsteban Küber-4/+6
2023-10-30Detect object safety errors when assoc type is missingEsteban Küber-9/+38
2023-10-18AliasTy::new instead of tcx methodlcnr-1/+1
2023-10-13Tweak wordingEsteban Küber-1/+2
2023-10-13Suggest trait bounds for used associated type on type paramEsteban Küber-5/+52
2023-09-08E0220: only suggests associated types if there's only one candidateLieselotte-25/+19
2023-09-08Improve "associated type not found" diagnosticsLieselotte-11/+42
2023-08-22Do not emit invalid suggestion in E0191 when spans overlapEsteban Küber-1/+15
2023-07-25inline format!() args from rustc_codegen_llvm to the end (4)Matthias Krüger-3/+3
2023-07-14Rollup merge of #113698 - compiler-errors:rpitit-check, r=spastorinoMatthias Krüger-2/+2
2023-07-14Make it clearer that we're just checking for an RPITITMichael Goulet-2/+2
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-5/+7
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-1/+1
2023-06-23Fix associated type suggestion when -Zlower-impl-trait-in-trait-to-assoc-tySantiago Pastorino-6/+14
2023-06-19s/Clause/ClauseKindMichael Goulet-2/+2
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-8/+8
2023-04-01fix clippy::iter_kv_mapMatthias Krüger-2/+2
2023-03-28Add `(..)` syntax for RTNMichael Goulet-7/+15
2023-03-10feat: implement better error for manual impl of `Fn*` traitsEzra Shaw-35/+72
2023-02-24Rename many interner functions.Nicholas Nethercote-1/+1
2023-02-22diagnostics: if AssocFn has self argument, describe as methodMichael Howell-4/+1
2023-02-20Rollup merge of #108200 - jhpratt:restricted-damerau-levenshtein-distance, r=...Matthias Krüger-1/+1
2023-02-19Add some FIXMEs for follow-up PRsLeón Orell Valerian Liehr-2/+6