Add a bunch of fixme comments

This commit is contained in:
hkalbasi 2023-06-12 00:37:11 +03:30
parent e83b56739f
commit a4695788ca
5 changed files with 39 additions and 13 deletions

View file

@ -108,6 +108,7 @@ pub(crate) fn infer_query(db: &dyn HirDatabase, def: DefWithBodyId) -> Arc<Infer
});
}
DefWithBodyId::InTypeConstId(c) => {
// FIXME(const-generic-body): We should not get the return type in this way.
ctx.return_ty =
c.lookup(db.upcast()).2.box_any().downcast::<InTypeConstIdMetadata>().unwrap().0;
}