Skip to content

Commit 30647cd

Browse files
committed
Some more cleanup
1 parent 94a6aff commit 30647cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/ra_hir/src/ty/traits/chalk.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,9 @@ where
273273
id,
274274
name: lalrpop_intern::intern(&type_alias.name(self.db).to_string()),
275275
parameter_kinds,
276-
bounds: vec![], // FIXME
277-
where_clauses: vec![], // FIXME
276+
// FIXME add bounds and where clauses
277+
bounds: vec![],
278+
where_clauses: vec![],
278279
};
279280
Arc::new(datum)
280281
}
@@ -429,13 +430,12 @@ where
429430
.filter_map(|t| {
430431
let assoc_ty = trait_.associated_type_by_name(self.db, t.name(self.db))?;
431432
let ty = self.db.type_for_def(t.into(), crate::Namespace::Types).subst(&bound_vars);
432-
debug!("ty = {}", ty.display(self.db));
433433
Some(chalk_rust_ir::AssociatedTyValue {
434434
impl_id,
435435
associated_ty_id: assoc_ty.to_chalk(self.db),
436436
value: chalk_ir::Binders {
437437
value: chalk_rust_ir::AssociatedTyValueBound { ty: ty.to_chalk(self.db) },
438-
binders: vec![], // FIXME add generic params (generic associated types)
438+
binders: vec![], // we don't support GATs yet
439439
},
440440
})
441441
})

0 commit comments

Comments
 (0)