Skip to main content

set_origin

Function set_origin 

Source
pub fn set_origin(root: ExprId, arena: &ExprArena, types: &mut TypeTable)
Expand description

For every node, tags its InferredType with TypeOrigin::OriginatedAt using the node’s source span. This mirrors Expr::set_origin.