pub fn term_to_assoc_actual(&self, term: Spanned<Term>) -> Result<Spanned<hir::AssocActual>> {
        let term_span = term.span;
        // TODO: Don't just treat this as an expression, but rather
        // differentiate properly between the different designators.
        let expr = self.term_to_expr(term)?;
        Ok(Spanned::new(hir::AssocActual::Expr(expr), term_span))
    }
/// Map a term to an association actual.
Map a term to an association actual.
Map a term to an association actual .
pub fn term_to_assoc_actual(&self, term: Spanned<Term>) -> Result<Spanned<hir::AssocActual>> {
        let term_span = term.span;
        // TODO: Don't just treat this as an expression, but rather
        // differentiate properly between the different designators.
        let expr = self.term_to_expr(term)?;
        Ok(Spanned::new(hir::AssocActual::Expr(expr), term_span))
    }
pub fn term_to_assoc_actual ( & self , term : Spanned < Term > ) -> Result < Spanned < hir :: AssocActual > > { let term_span = term . span ; // TODO: Don't just treat this as an expression, but rather // differentiate properly between the different designators. let expr = self . term_to_expr ( term ) ? ; Ok ( Spanned :: new ( hir :: AssocActual :: Expr ( expr ) , term_span ) ) }
Map a term to an association actual.
Map a term to an association actual .
&self
term
Spanned<Term>
&self
term
Spanned<Term>