1
Fork 0

resolve from_hir_call FIXME

This commit is contained in:
Ellen 2021-09-07 13:36:50 +01:00
parent 8c7954dc42
commit 3212734bd7
3 changed files with 24 additions and 2 deletions

View file

@ -337,7 +337,6 @@ impl<'a, 'tcx> AbstractConstBuilder<'a, 'tcx> {
// `<T as Trait>::ASSOC` as well as `12`
&ExprKind::Literal { literal, .. } => self.nodes.push(Node::Leaf(literal)),
// FIXME(generic_const_exprs): Handle `from_hir_call` field
ExprKind::Call { fun, args, .. } => {
let fun = self.recurse_build(*fun)?;