@@ -37,10 +37,9 @@ pub struct TyLoweringContext<'a, DB: HirDatabase> {
37
37
pub db : & ' a DB ,
38
38
pub resolver : & ' a Resolver ,
39
39
/// Note: Conceptually, it's thinkable that we could be in a location where
40
- /// some type params are quantified universally (and should be represented
41
- /// as placeholders), and others are quantified existentially (and should be
42
- /// converted to variables). I think in practice, this isn't possible
43
- /// currently, so this should be fine for now.
40
+ /// some type params should be represented as placeholders, and others
41
+ /// should be converted to variables. I think in practice, this isn't
42
+ /// possible currently, so this should be fine for now.
44
43
pub type_param_mode : TypeParamLoweringMode ,
45
44
pub impl_trait_mode : ImplTraitLoweringMode ,
46
45
pub impl_trait_counter : std:: cell:: Cell < u16 > ,
@@ -71,8 +70,8 @@ pub enum ImplTraitLoweringMode {
71
70
/// types of functions we're calling.
72
71
Opaque ,
73
72
/// `impl Trait` gets lowered into a type variable. Used for argument
74
- /// position impl Trait currently, since it allows us to support that
75
- /// without Chalk.
73
+ /// position impl Trait when inside the respective function, since it allows
74
+ /// us to support that without Chalk.
76
75
Param ,
77
76
/// `impl Trait` gets lowered into a variable that can unify with some
78
77
/// type. This is used in places where values flow 'in', i.e. for arguments
0 commit comments