summary refs log tree commit diff
path: root/compiler/rustc_infer/src/infer/mod.rs
AgeCommit message (Expand)AuthorLines
2024-06-06Uplift TypeRelation and RelateMichael Goulet-5/+2
2024-06-05Add `Ty` to `ConstKind::Value`Boxy-3/+6
2024-06-05Basic removal of `Ty` from places (boring)Boxy-37/+16
2024-06-04Auto merge of #123536 - compiler-errors:simplify-int-float, r=lcnrbors-56/+74
2024-06-04Rollup merge of #125865 - ajwock:ice_not_fully_resolved, r=fee1-deadMichael Goulet-0/+2
2024-06-03Align Term methods with GenericArg methodsMichael Goulet-2/+2
2024-06-03Nits and formattingMichael Goulet-3/+2
2024-06-03Make TraitEngines generic over errorMichael Goulet-3/+4
2024-06-03Remove unnecessary extension traitMichael Goulet-1/+1
2024-06-03Fix ICE caused by ignoring EffectVars in type inferenceAndrew Wock-0/+2
2024-06-01Address nitsMichael Goulet-4/+4
2024-06-01Inline fold_infer_tyMichael Goulet-35/+35
2024-06-01Simplify IntVarValue/FloatVarValueMichael Goulet-29/+47
2024-05-28Remove TraceMichael Goulet-15/+0
2024-05-24Revert "Rollup merge of #123979 - oli-obk:define_opaque_types7, r=compiler-er...Oli Scherer-15/+2
2024-05-20Rework var resolution in InferCtxtLike, uplift EagerResolverMichael Goulet-17/+27
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/+1
2024-05-10Rename some ObligationCauseCode variantsMichael Goulet-1/+1
2024-05-10Rollup merge of #124955 - nnethercote:next_ty_var, r=lcnrMatthias Krüger-47/+31
2024-05-10Fix out-of-date comment.Nicholas Nethercote-2/+2
2024-05-10Use fewer origins when creating type variables.Nicholas Nethercote-27/+22
2024-05-10Inline and remove unused methods.Nicholas Nethercote-24/+13
2024-04-29Remove `extern crate rustc_data_structures` from numerous crates.Nicholas Nethercote-1/+1
2024-04-29Remove `extern crate rustc_macros` from numerous crates.Nicholas Nethercote-2/+3
2024-04-20remove `InferCtxt::clear_caches`Lukas Markeffsky-9/+0
2024-04-18Auto merge of #124008 - nnethercote:simpler-static_assert_size, r=Nilstriebbors-1/+1
2024-04-18Simplify `static_assert_size`s.Nicholas Nethercote-1/+1
2024-04-17Don't error on subtyping of equal typesOli Scherer-1/+1
2024-04-16Auto merge of #123537 - compiler-errors:shallow, r=lcnrbors-96/+70
2024-04-16Rollup merge of #123979 - oli-obk:define_opaque_types7, r=compiler-errorsGuillaume Gomez-2/+15
2024-04-16Subtype predicates only exist on inference types, so we can allow them to reg...Oli Scherer-2/+15
2024-04-16Rollup merge of #123016 - compiler-errors:no-type-var-origin, r=lcnrLeón Orell Valerian Liehr-24/+6
2024-04-15Simplify shallow resolver to just fold ty/constsMichael Goulet-96/+70
2024-04-15Remove ConstVariableOriginKindMichael Goulet-12/+3
2024-04-15Remove TypeVariableOriginKindMichael Goulet-12/+3
2024-04-15PolyTraitRefs -> TraitRefsMichael Goulet-5/+5
2024-04-08Avoid fetching the opaque type origin when only "is this in the defining scop...Oli Scherer-1/+7
2024-04-08Eliminate `DefiningAnchor` now that is just a single-variant enumOli Scherer-15/+19
2024-04-08Pass list of defineable opaque types into canonical queriesOli Scherer-9/+7
2024-04-04Switch `can_eq` and `can_sub` to `DefineOpaqueTypes::Yes`Oli Scherer-2/+6
2024-04-03Check `x86_64` size assertions on `aarch64`, tooZalathar-1/+1
2024-03-27Stop doing expensive work in opt_suggest_box_span eagerlyMichael Goulet-0/+9
2024-03-19Auto merge of #122392 - BoxyUwU:misc_cleanup, r=lcnrbors-1/+1
2024-03-18rename `instantiate_canonical_with_fresh_inference_vars`Boxy-1/+1
2024-03-18Avoid various uses of `Option<Span>` in favor of using `DUMMY_SP` in the few ...Oli Scherer-7/+4
2024-03-11Eliminate `DefiningAnchor::Error`, it is indistinguishable from `DefiningAnch...Oli Scherer-4/+3
2024-03-11Make `DefiningAnchor::Bind` only store the opaque types that may be constrain...Oli Scherer-3/+3
2024-03-07cleanup importslcnr-25/+21