Removed unnecessary TODO

This commit is contained in:
OleStrohm 2022-08-06 18:52:35 +02:00
parent 997fc46efa
commit e28046c673

View file

@ -339,7 +339,7 @@ pub fn eval_const(
ValueNs::GenericParam(_) => {
Err(ConstEvalError::NotSupported("const generic without substitution"))
}
ValueNs::EnumVariantId(id) => ctx.db.const_eval_variant(id), // TODO(ole): Assuming this is all that has to happen?
ValueNs::EnumVariantId(id) => ctx.db.const_eval_variant(id),
_ => Err(ConstEvalError::NotSupported("path that are not const or local")),
}
}