mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 01:17:27 +00:00
Removed unnecessary TODO
This commit is contained in:
parent
997fc46efa
commit
e28046c673
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue