Follow-up cleanup from PR #246:
TypedPlaceExpression struct literal construction in nll.rs requires explicit Arc::new and .clone() calls:
root: Arc::new(root_expr.clone()),
ty: ty.clone(),
kind: TypedPlaceExpressionKind::Deref(Arc::new(inner_expr.clone())),
Upcast doesn't help with struct fields, so a constructor or builder that accepts impl Upcast<T> would be needed to clean this up.
See: #246 (comment)
Follow-up cleanup from PR #246:
TypedPlaceExpressionstruct literal construction innll.rsrequires explicitArc::newand.clone()calls:Upcast doesn't help with struct fields, so a constructor or builder that accepts
impl Upcast<T>would be needed to clean this up.See: #246 (comment)