about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/traits/solve/inspect.rs
AgeCommit message (Collapse)AuthorLines
2024-05-18Uplift inspect into rustc_type_irMichael Goulet-160/+0
2024-05-13Use a proper probe for shadowing implMichael Goulet-0/+2
2024-05-06Record impl args in the InsepctCandiate rather than rematching during selectMichael Goulet-0/+2
2024-04-30Rollup merge of #124511 - nnethercote:rm-extern-crates, r=fee1-deadMatthias Krüger-0/+1
Remove many `#[macro_use] extern crate foo` items This requires the addition of more `use` items, which often make the code more verbose. But they also make the code easier to read, because `#[macro_use]` obscures where macros are defined. r? `@fee1-dead`
2024-04-29Take proof trees by value in inspect goalMichael Goulet-3/+3
2024-04-29Only register candidate if it is associated w a shallow certaintyMichael Goulet-2/+2
2024-04-29Actually use probes when needed and stop relying on existing outer probesMichael Goulet-4/+2
2024-04-29Remove `extern crate rustc_macros` from `rustc_middle`.Nicholas Nethercote-0/+1
2024-04-27Record certainty of evaluate_added_goals_and_make_canonical_response call in ↵Michael Goulet-0/+6
candidate
2024-04-25hir typeck: look into nested goalslcnr-0/+1
uses a `ProofTreeVisitor` to look into nested goals when looking at the pending obligations during hir typeck. Used by closure signature inference, coercion, and for async functions.
2024-04-05Fix typoWaffle Maybe-1/+1
2024-04-04normalizes-to change from '1' to '0 to inf' stepslcnr-5/+2
2024-03-18cleanup + reviewlcnr-3/+3
2024-02-26always emit `AliasRelate` goals when relating aliaseslcnr-2/+0
Add `StructurallyRelateAliases` to allow instantiating infer vars with rigid aliases. Change `instantiate_query_response` to be infallible in the new solver. This requires canonicalization to not hide any information used by the query, so weaken universe compression. It also modifies `term_is_fully_unconstrained` to allow region inference variables in a higher universe.
2024-01-09readd the provisional cachelcnr-0/+1
2023-12-18track the source of nested goalslcnr-3/+3
2023-11-09`try_normalize_ty` end with rigid alias on failurelcnr-0/+5
2023-11-02use global cache when computing proof treeslcnr-8/+2
2023-09-21proof trees: use for `intercrate_ambiguity_causes`lcnr-8/+58
2023-09-14differentiate root and nested goalslcnr-3/+9
2023-09-14inspect: explicitly store added goalslcnr-0/+1
2023-09-14order `added_goals_evaluation` and `nested_probes`lcnr-2/+7
2023-09-14`GoalCandidate` to `Probe`lcnr-5/+8
2023-09-11dedup `GoalEvaluationStep` and `GoalCandidate`lcnr-4/+11
also handle 2 panics when dumping proof trees for the whole test suite - need to actually tell the proof tree builder about overflow - need to handle a recursion_limit of 0 :<
2023-09-11inspect: strongly typed CandidateKindlcnr-14/+19
2023-09-11split GoalEvaluation and CanonicalGoalEvaluationlcnr-20/+8
the unnormalized goal is in the callers inference context, while anything inside of the `CanonicalGoalEvaluation` is inside of a new one.
2023-08-03Rework upcastingMichael Goulet-5/+8
2023-07-25Normalize the RHS of an unsize goalMichael Goulet-1/+5
2023-07-13refactor proof tree formattinglcnr-4/+4
2023-06-20cleanup importslcnr-2/+6
2023-06-19move to nested moduleBoxy-130/+3
2023-06-19show normalizes-to hack and response instantiation goalsBoxy-2/+22
2023-06-19introduce a separate set of types for finalized proof treesBoxy-28/+39
2023-06-19say what kind of cache hitBoxy-3/+10
2023-06-19initial info dumpBoxy-0/+168