Removed unnecessary TODO
This commit is contained in:
parent
997fc46efa
commit
e28046c673
@ -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")),
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user