Expand description
The bulk of the logic for implementing -Zassumptions-on-binders
Structs§
Enums§
Functions§
- destructure_
type_ outlives_ constraints_ in_ root - Converts type outlives constraints into region outlives constraints. This assumes the complete set of assumptions are known. This should not be called until the end of type checking.
- eagerly_
handle_ placeholders_ in_ universe - Takes any constraints involving placeholders from the current universe and eagerly checks them. This can be done a few ways:
- evaluate_
solver_ constraint - Evaluate ANDs and ORs to true/false/ambiguous based on whether their arguments are true/false/ambiguous
- max_
universe - The largest universe a variable or placeholder was from in
t - regions_
outlived_ by - Returns all regions
r2for whichr: r2is known to hold in the universe associated withassumptions - regions_
outlived_ by_ placeholder - Returns all regions
rfor which!t: ris known to hold in the universe associated withassumptions - regions_
outliving - Returns all regions
r2for whichr2: ris known to hold in the universe associated withassumptions