summary refs log tree commit diff
path: root/compiler/rustc_infer/src/infer/relate
AgeCommit message (Expand)AuthorLines
2024-03-07Rollup merge of #122142 - lcnr:rustc_infer-cleanup, r=compiler-errorsGuillaume Gomez-1/+1
2024-03-07move snapshot handling into modlcnr-1/+1
2024-03-07improve debug loggingLukas Markeffsky-1/+1
2024-03-01Don't grab variances if we're invariantMichael Goulet-1/+21
2024-03-01Rebase fallout from TypeRelating::binders, inline higher_ranked_subMichael Goulet-66/+51
2024-03-01Fallout from removing a_is_expectedMichael Goulet-49/+17
2024-03-01Remove a_is_expected from combine relationsMichael Goulet-58/+41
2024-03-01Remove causeMichael Goulet-23/+2
2024-03-01Combine sub and eqMichael Goulet-485/+350
2024-03-01Preserve variance on error in generalizerMichael Goulet-2/+2
2024-02-29Change condition in binders to one that is more readableSantiago Pastorino-5/+5
2024-02-29Make infer higher ranked equate use bidirectional subtyping in invariant contextSantiago Pastorino-2/+25
2024-02-26always emit `AliasRelate` goals when relating aliaseslcnr-30/+133
2024-02-23Rollup merge of #121479 - lcnr:fix-generalize, r=compiler-errorsMatthias Krüger-18/+24
2024-02-22fix CIlcnr-2/+2
2024-02-22woops, soundly generalizing is hardlcnr-18/+24
2024-02-22remove `sub_relations` from infcx, recompute in diagnosticslcnr-12/+4
2024-02-21Inline NllTypeRelating into its only usage siteMichael Goulet-575/+5
2024-02-21Make TypeRelating more NLL-specificMichael Goulet-9/+9
2024-02-21Yeet QueryTypeRelatingDelegateMichael Goulet-17/+5
2024-02-21Rollup merge of #121359 - lcnr:typesystem-cleanup, r=compiler-errorsLeón Orell Valerian Liehr-64/+83
2024-02-21Convert `bug`s back to `delayed_bug`s.Nicholas Nethercote-1/+1
2024-02-21Convert `delayed_bug`s to `bug`s.Nicholas Nethercote-5/+3
2024-02-20some type system cleanuplcnr-64/+83
2024-02-20Rollup merge of #121319 - compiler-errors:err, r=oli-obkNilstrieb-0/+5
2024-02-19return ty::Error when equating ty::ErrorMichael Goulet-0/+5
2024-02-17yeet `GeneralizerDelegate`lcnr-126/+52
2024-02-17use `instantiate_ty_var` in nlllcnr-185/+47
2024-02-17move ty var instantiation into the generalize modulelcnr-211/+233
2024-02-17add fixmelcnr-0/+3
2024-02-17rename `needs_wf` and clarify commentlcnr-54/+56
2024-02-12Dejargnonize substShoyu Vanilla-5/+5
2024-02-08Rollup merge of #120590 - compiler-errors:dead, r=NilstriebMatthias Krüger-3/+2
2024-02-08reviews + rebaseBoxy-55/+49
2024-02-08rename `instantiate_binder_with_placeholders`Boxy-5/+22
2024-02-08introduce `enter_forall`Boxy-25/+45
2024-02-05cleanup effect var handlinglcnr-32/+6
2024-02-02Remove dead args from functionsMichael Goulet-3/+2
2024-01-22Make generic const type mismatches not hide trait impls from the trait solverOli Scherer-24/+10
2024-01-16don't store const var origins for known varslcnr-24/+17
2024-01-11Rollup merge of #118915 - compiler-errors:alias-nits, r=lcnrMatthias Krüger-5/+4
2024-01-10Simplify some redundant namesMichael Goulet-5/+4
2024-01-10Add `DiagCtxt::delayed_bug`.Nicholas Nethercote-4/+3
2023-12-30Auto merge of #116012 - cjgillot:gvn-const, r=oli-obkbors-1/+4
2023-12-27Remove dead codesr01and-17/+2
2023-12-24Avoid stack overflow in generalizer.Camille GILLOT-1/+4
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-3/+3
2023-12-19Remove param env from relation altogetherMichael Goulet-24/+22
2023-12-15NFC don't convert types to identical typesMatthias Krüger-1/+1
2023-12-15Move nll_relate to relate::nll submoduleMichael Goulet-2/+719