about summary refs log tree commit diff
path: root/compiler/rustc_infer/src/infer/relate
AgeCommit message (Expand)AuthorLines
2024-06-11Rename some thingsMichael Goulet-36/+35
2024-06-11Make ObligationEmittingRelation deal with Goals onlyMichael Goulet-25/+64
2024-06-11Get rid of PredicateObligationsMichael Goulet-10/+10
2024-06-06Uplift TypeRelation and RelateMichael Goulet-48/+166
2024-06-05Basic removal of `Ty` from places (boring)Boxy-8/+3
2024-06-05bivariant alias: set `has_unconstrained_ty_var`lcnr-2/+10
2024-06-01Simplify IntVarValue/FloatVarValueMichael Goulet-64/+25
2024-05-30Auto merge of #125671 - BoxyUwU:remove_const_ty_eq, r=compiler-errorsbors-8/+1
2024-05-29Partially implement `ConstArgHasType`Boxy-8/+1
2024-05-28Remove TraceMichael Goulet-0/+11
2024-05-24Use regular type equating instead of a custom queryOli Scherer-29/+7
2024-05-24Fail relating constants of different typesOli Scherer-8/+5
2024-05-16Uplift Goal to rustc_type_irMichael Goulet-5/+5
2024-05-16Make P parameter explicitMichael Goulet-5/+20
2024-05-16Rename ToPredicate for UpcastMichael Goulet-6/+6
2024-05-13Auto merge of #125076 - compiler-errors:alias-term, r=lcnrbors-1/+1
2024-05-13split out AliasTy -> AliasTermMichael Goulet-1/+1
2024-05-13Remove `extern crate rustc_middle` from `rustc_infer`.Nicholas Nethercote-0/+2
2024-05-10Use fewer origins when creating type variables.Nicholas Nethercote-14/+5
2024-05-07generalize hr alias: avoid unconstrainable infer varslcnr-4/+40
2024-04-16Auto merge of #123537 - compiler-errors:shallow, r=lcnrbors-2/+2
2024-04-15Simplify shallow resolver to just fold ty/constsMichael Goulet-2/+2
2024-04-15Remove TypeVariableOriginKindMichael Goulet-15/+8
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