Skip to main content

lower_path

Function lower_path 

Source
pub(super) fn lower_path(
    collector: &mut ExprCollector<'_>,
    path: Path,
    impl_trait_lower_fn: &'_ mut dyn for<'ec, 'db> FnMut(&'ec mut ExprCollector<'db>, TypePtr, ThinVec<TypeBound>) -> TypeRefId,
) -> Option<Path>
Expand description

Converts an ast::Path to Path. Works with use trees. It correctly handles $crate based path from macro call.