pub fn add_aggregate_hir(&self, hir: hir::Aggregate) -> Result<AggregateRef> {
        let (mk, _, _) = self.make::<AggregateRef>(hir.span);
        mk.set_hir(hir);
        self.schedule_aggregate(&mk);
        Ok(mk.finish())
    }
/// Add an aggregate already lowered to HIR.
Add an aggregate already lowered to HIR.
Add an aggregate already lowered to HIR .
pub fn add_aggregate_hir(&self, hir: hir::Aggregate) -> Result<AggregateRef> {
        let (mk, _, _) = self.make::<AggregateRef>(hir.span);
        mk.set_hir(hir);
        self.schedule_aggregate(&mk);
        Ok(mk.finish())
    }
pub fn add_aggregate_hir ( & self , hir : hir :: Aggregate ) -> Result < AggregateRef > { let ( mk , _ , _ ) = self . make :: < AggregateRef > ( hir . span ) ; mk . set_hir ( hir ) ; self . schedule_aggregate ( & mk ) ; Ok ( mk . finish ( ) ) }
Add an aggregate already lowered to HIR.
Add an aggregate already lowered to HIR .
&self
hir
hir::Aggregate
&self
hir
hir::Aggregate