Expand description
Transforms ast::Expr
into an equivalent hir_def::expr::Expr
representation.
Structs§
Functions§
- hir_
assoc_ type_ binding_ to_ ast - This function find the AST fragment that corresponds to an
AssociatedTypeBinding
in the HIR. - hir_
generic_ arg_ to_ ast - This function find the AST generic argument from the one in the HIR. Does not support the
Self
argument. - hir_
segment_ to_ ast_ segment - This function finds the AST segment that corresponds to the HIR segment
with index
segment_idx
on the path that is lowered frompath
.