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

@ -215,7 +215,7 @@ pub(crate) fn const_eval_query(
GeneralConstId::ConstId(c) => {
db.monomorphized_mir_body(c.into(), subst, db.trait_environment(c.into()))?
}
GeneralConstId::AnonymousConstId(c) => {
GeneralConstId::ConstBlockId(c) => {
let (def, root) = db.lookup_intern_anonymous_const(c);
let body = db.body(def);
let infer = db.infer(def);