1
Fork 0

Uplift TypeRelation and Relate

This commit is contained in:
Michael Goulet 2024-06-04 16:02:36 -04:00
parent 82ef3ad980
commit 91274c84b9
34 changed files with 1114 additions and 866 deletions

View file

@ -7,11 +7,11 @@ use rustc_type_ir::{self as ty, InferCtxtLike, Interner};
// EAGER RESOLUTION
/// Resolves ty, region, and const vars to their inferred values or their root vars.
pub struct EagerResolver<
'a,
pub struct EagerResolver<'a, Infcx, I = <Infcx as InferCtxtLike>::Interner>
where
Infcx: InferCtxtLike<Interner = I>,
I: Interner = <Infcx as InferCtxtLike>::Interner,
> {
I: Interner,
{
infcx: &'a Infcx,
}