We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8efa0fa commit 24b2337Copy full SHA for 24b2337
chalk-integration/src/lowering.rs
@@ -1221,6 +1221,24 @@ impl LowerTy for Ty {
1221
)?,
1222
})
1223
.intern(interner)),
1224
+
1225
+ Ty::Ref {
1226
+ mutability,
1227
+ lifetime,
1228
+ ty,
1229
+ } => Ok(chalk_ir::TyData::Apply(chalk_ir::ApplicationTy {
1230
+ name: chalk_ir::TypeName::Ref(ast_mutability_to_chalk_mutability(
1231
+ mutability.clone(),
1232
+ )),
1233
+ substitution: chalk_ir::Substitution::from(
1234
+ interner,
1235
+ &[
1236
+ lifetime.lower(env)?.cast(interner),
1237
+ ty.lower(env)?.cast(interner),
1238
+ ],
1239
+ ),
1240
+ })
1241
+ .intern(interner)),
1242
}
1243
1244
0 commit comments