about summary refs log tree commit diff
path: root/compiler/rustc_infer/src
AgeCommit message (Expand)AuthorLines
2022-11-21Allow iterators instead of requiring slices that will get turned into iteratorsOli Scherer-1/+1
2022-11-21Assert that various types have the right amount of generic args and fix the s...Oli Scherer-1/+1
2022-11-21Unreserve braced enum variants in value namespaceVadim Petrochenkov-2/+2
2022-11-21Test generalization during coherenceOli Scherer-1/+5
2022-11-21Add some more assertions for type relations not used during coherenceOli Scherer-8/+13
2022-11-21Type generalization should not look at opaque type in coherenceOli Scherer-2/+1
2022-11-21Remove a function that doesn't actually do anythingOli Scherer-8/+7
2022-11-21Register obligations from type relationOli Scherer-5/+12
2022-11-21Move a field aroundOli Scherer-1/+2
2022-11-21Add an always-ambiguous predicate to make sure that we don't accidentlally al...Oli Scherer-11/+55
2022-11-21Treat different opaque types of the same def id as equal during coherenceOli Scherer-0/+73
2022-11-21Auto merge of #104673 - matthiaskrgr:rollup-85f65ov, r=matthiaskrgrbors-1/+1
2022-11-21Rollup merge of #104595 - compiler-errors:poly-existential-predicate, r=lcnrMatthias Krüger-1/+1
2022-11-21Auto merge of #103491 - cjgillot:self-rpit, r=oli-obkbors-28/+39
2022-11-19Rollup merge of #104554 - BoxyUwU:less_unchecked_pls, r=lcnrDylan DPC-14/+21
2022-11-19Rollup merge of #104411 - lcnr:bivariance-nll, r=compiler-errorsDylan DPC-2/+3
2022-11-19drive-by: PolyExistentialPredicateMichael Goulet-1/+1
2022-11-18require an `ErrorGuaranteed` to taint infcx with errorsBoxy-11/+10
2022-11-18rename `is_tainted_by_errors` Boxy-8/+12
2022-11-18`InferCtxt::is_tainted_by_errors` returns `ErrorGuaranteed`Boxy-5/+9
2022-11-16Convert predicates into Predicate in the Obligation constructorOli Scherer-30/+35
2022-11-15mv utility methods into separate modulelcnr-5/+2
2022-11-15nll: correctly deal with bivariancelcnr-2/+6
2022-11-14Deduplicate visitor.Camille GILLOT-3/+3
2022-11-14Drop `relate_opaque_item_substs`.Camille GILLOT-0/+1
2022-11-12Inherit generics for impl-trait.Camille GILLOT-27/+37
2022-11-12Rollup merge of #104206 - compiler-errors:ocx-more-2, r=lcnrDylan DPC-26/+0
2022-11-10Auto merge of #103636 - chenyukang:yukang/fix-103587-sugg-if-let, r=jackh276,...bors-0/+82
2022-11-09Remove save_and_restore_in_snapshot_flagMichael Goulet-26/+0
2022-11-09Auto merge of #103723 - CastilloDel:master, r=jackh726bors-1/+2
2022-11-09Auto merge of #103171 - jackh726:gen-interior-hrtb-error, r=cjgillotbors-7/+95
2022-11-08Reduce the scope of allow(rustc::potential_query_instability) in rustc_trait_...CastilloDel-1/+2
2022-11-08use subdiagnostic for sugesting add letyukang-6/+14
2022-11-08fix #103587, Recover from common if let syntax mistakes/typosyukang-0/+74
2022-11-08Rollup merge of #103865 - compiler-errors:fallback-has-occurred-tracking, r=e...Dylan DPC-2/+3
2022-11-07Add a known that this is a known limitationJack Huey-0/+1
2022-11-07Get spans for a couple more region types, add some optimizations, and extend ...Jack Huey-1/+1
2022-11-07Add an optional Span to BrAnon and use it to print better error for HRTB erro...Jack Huey-7/+94
2022-11-07Auto merge of #103218 - CastilloDel:infer, r=jackh726bors-22/+27
2022-11-06Move fallback_has_occurred to FnCtxtMichael Goulet-2/+3
2022-11-06Auto merge of #103975 - oli-obk:tracing, r=jackh726bors-1/+1
2022-11-04Refactor tcx mk_const parameters.Mateusz-25/+20
2022-11-04Some tracing and comment cleanupsOli Scherer-1/+1
2022-11-01Rollup merge of #103575 - Xiretza:suggestions-style-attr, r=davidtwcoManish Goregaokar-5/+10
2022-11-01Auto merge of #103590 - compiler-errors:ocx-more, r=lcnrbors-1/+1
2022-10-29Rename some `OwnerId` fields.Nicholas Nethercote-1/+1
2022-10-28Remove #![allow(rustc::potential_query_instability)] from rustc_inferCastilloDel-22/+27
2022-10-28Rollup merge of #103641 - compiler-errors:issue-103624, r=cjgillotMatthias Krüger-6/+6
2022-10-27Revert "Make ClosureOutlivesRequirement not rely on an unresolved type"Michael Goulet-6/+6
2022-10-27(almost) Always use ObligationCtxt when dealing with canonical queriesMichael Goulet-1/+1